summaryrefslogtreecommitdiff
path: root/gfx/skia
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-15 17:48:16 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-15 17:48:16 +0200
commit7bd7473702918934b4f5751a583c3f459bb06c7b (patch)
tree944e362e6eb33b07ca2cc7eba2d03fa3e36df1aa /gfx/skia
parente53fa281357edc934e6362facbcb9b065dae8e90 (diff)
downloaduxp-7bd7473702918934b4f5751a583c3f459bb06c7b.tar.gz
Add omitted Skia "Safe Math" includes.
Diffstat (limited to 'gfx/skia')
-rw-r--r--gfx/skia/skia/src/core/SkMath.cpp1
-rw-r--r--gfx/skia/skia/src/core/SkSafeMath.h1
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 84796c522b..bf9a73da81 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 0bc0fbfac4..f54be32fce 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.