diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-15 17:48:16 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-15 17:48:16 +0200 |
commit | 7bd7473702918934b4f5751a583c3f459bb06c7b (patch) | |
tree | 944e362e6eb33b07ca2cc7eba2d03fa3e36df1aa /gfx/skia | |
parent | e53fa281357edc934e6362facbcb9b065dae8e90 (diff) | |
download | UXP-7bd7473702918934b4f5751a583c3f459bb06c7b.tar UXP-7bd7473702918934b4f5751a583c3f459bb06c7b.tar.gz UXP-7bd7473702918934b4f5751a583c3f459bb06c7b.tar.lz UXP-7bd7473702918934b4f5751a583c3f459bb06c7b.tar.xz UXP-7bd7473702918934b4f5751a583c3f459bb06c7b.zip |
Add omitted Skia "Safe Math" includes.
Diffstat (limited to 'gfx/skia')
-rw-r--r-- | gfx/skia/skia/src/core/SkMath.cpp | 1 | ||||
-rw-r--r-- | gfx/skia/skia/src/core/SkSafeMath.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 <limits> // 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. |