Index: src/core/SkPath.cpp |
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp |
index 0b796fc5374ec14e0fbc6e07c81e0638be47ce89..2babe70185d51cabb9059f47c774acd2d1f80d74 100644 |
--- a/src/core/SkPath.cpp |
+++ b/src/core/SkPath.cpp |
@@ -863,6 +863,7 @@ void SkPath::addPoly(const SkPoint pts[], int count, bool close) { |
if (close) { |
ed.growForVerb(kClose_Verb); |
+ fLastMoveToIndex ^= ~fLastMoveToIndex >> (8 * sizeof(fLastMoveToIndex) - 1); |
} |
DIRTY_AFTER_EDIT; |