Index: include/core/SkPathMeasure.h |
diff --git a/include/core/SkPathMeasure.h b/include/core/SkPathMeasure.h |
index f6e606f0c06decf56fca3af6c5d052d1cf3eade2..7528736ba85bfa066606dbeb0bdc7fe05837358f 100644 |
--- a/include/core/SkPathMeasure.h |
+++ b/include/core/SkPathMeasure.h |
@@ -89,8 +89,12 @@ private: |
struct Segment { |
SkScalar fDistance; // total distance up to this point |
- unsigned fPtIndex : 15; // index into the fPts array |
+ unsigned fPtIndex; // index into the fPts array |
+#ifdef SK_SUPPORT_LEGACY_PATH_MEASURE_TVALUE |
unsigned fTValue : 15; |
+#else |
+ unsigned fTValue : 30; |
+#endif |
unsigned fType : 2; |
SkScalar getScalarT() const; |