| Index: src/core/SkPath.cpp
|
| diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
|
| index f5b53fcc00e085785be61a23a0e9c601f891e6fb..50789b42eb657f4b4f69cac9e023ee142a37d078 100644
|
| --- a/src/core/SkPath.cpp
|
| +++ b/src/core/SkPath.cpp
|
| @@ -2058,7 +2058,7 @@ size_t SkPath::readFromMemory(const void* storage, size_t length) {
|
| }
|
|
|
| fConvexity = (packed >> kConvexity_SerializationShift) & 0xFF;
|
| - fFillType = (packed >> kFillType_SerializationShift) & 0xFF;
|
| + fFillType = (packed >> kFillType_SerializationShift) & 0x3;
|
| uint8_t dir = (packed >> kDirection_SerializationShift) & 0x3;
|
| fIsVolatile = (packed >> kIsVolatile_SerializationShift) & 0x1;
|
| SkPathRef* pathRef = SkPathRef::CreateFromBuffer(&buffer);
|
|
|