diff options
author | Hal Canary <halcanary@google.com> | 2018-06-11 21:44:01 -0400 |
---|---|---|
committer | Mike Klein <mtklein@google.com> | 2018-06-12 15:03:21 +0000 |
commit | 2a2f67592602b18527bc3fd449132d420cd5b62e (patch) | |
tree | 0f6078db2af3b904f08e8cc0118055bf1db621a5 /src/core/SkPath_serial.cpp | |
parent | 7c525e62d405d57ae7a7742cf607b9770a83a0ab (diff) |
SkTypes: extract SkTo
Change-Id: I8de790d5013db2105ad885fa2683303d7c250b09
Reviewed-on: https://skia-review.googlesource.com/133620
Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/core/SkPath_serial.cpp')
-rw-r--r-- | src/core/SkPath_serial.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/SkPath_serial.cpp b/src/core/SkPath_serial.cpp index e538a462db..6a372e6dcd 100644 --- a/src/core/SkPath_serial.cpp +++ b/src/core/SkPath_serial.cpp @@ -5,7 +5,6 @@ * found in the LICENSE file. */ -#include <cmath> #include "SkBuffer.h" #include "SkData.h" #include "SkMath.h" @@ -13,6 +12,9 @@ #include "SkPathRef.h" #include "SkRRect.h" #include "SkSafeMath.h" +#include "SkTo.h" + +#include <cmath> enum SerializationOffsets { kType_SerializationShift = 28, // requires 4 bits |