Index: src/core/SkPath.cpp |
=================================================================== |
--- src/core/SkPath.cpp (revision 12468) |
+++ src/core/SkPath.cpp (working copy) |
@@ -2049,12 +2049,9 @@ |
(fFillType << kFillType_SerializationShift) | |
(fSegmentMask << kSegmentMask_SerializationShift) | |
(fDirection << kDirection_SerializationShift) |
-#ifndef DELETE_THIS_CODE_WHEN_SKPS_ARE_REBUILT_AT_V14_AND_ALL_OTHER_INSTANCES_TOO |
+#ifndef DELETE_THIS_CODE_WHEN_SKPS_ARE_REBUILT_AT_V16_AND_ALL_OTHER_INSTANCES_TOO |
| (0x1 << kNewFormat_SerializationShift) |
#endif |
-#ifndef DELETE_THIS_CODE_WHEN_SKPS_ARE_REBUILT_AT_V16_AND_ALL_OTHER_INSTANCES_TOO |
- | (0x1 << kNewFormat2_SerializationShift) |
-#endif |
; |
buffer.write32(packed); |
@@ -2078,7 +2075,7 @@ |
fSegmentMask = (packed >> kSegmentMask_SerializationShift) & 0xF; |
fDirection = (packed >> kDirection_SerializationShift) & 0x3; |
#ifndef DELETE_THIS_CODE_WHEN_SKPS_ARE_REBUILT_AT_V16_AND_ALL_OTHER_INSTANCES_TOO |
- bool newFormat = (packed >> kNewFormat2_SerializationShift) & 1; |
+ bool newFormat = (packed >> kNewFormat_SerializationShift) & 1; |
#endif |
SkPathRef* pathRef = SkPathRef::CreateFromBuffer(&buffer |