From 7bd7473702918934b4f5751a583c3f459bb06c7b Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 15 May 2018 17:48:16 +0200 Subject: Add omitted Skia "Safe Math" includes. --- gfx/skia/skia/src/core/SkMath.cpp | 1 + gfx/skia/skia/src/core/SkSafeMath.h | 1 + 2 files changed, 2 insertions(+) (limited to 'gfx/skia') diff --git a/gfx/skia/skia/src/core/SkMath.cpp b/gfx/skia/skia/src/core/SkMath.cpp index 84796c522..bf9a73da8 100644 --- a/gfx/skia/skia/src/core/SkMath.cpp +++ b/gfx/skia/skia/src/core/SkMath.cpp @@ -6,6 +6,7 @@ */ #include "SkMathPriv.h" +#include "SkSafeMath.h" #include "SkFixed.h" #include "SkFloatBits.h" #include "SkFloatingPoint.h" diff --git a/gfx/skia/skia/src/core/SkSafeMath.h b/gfx/skia/skia/src/core/SkSafeMath.h index 0bc0fbfac..f54be32fc 100644 --- a/gfx/skia/skia/src/core/SkSafeMath.h +++ b/gfx/skia/skia/src/core/SkSafeMath.h @@ -9,6 +9,7 @@ #define SkSafeMath_DEFINED #include "SkTypes.h" +#include // SkSafeMath always check that a series of operations do not overflow. // This must be correct for all platforms, because this is a check for safety at runtime. -- cgit v1.2.3