Index: src/core/SkPath.cpp |
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp |
index 83f481a91b032dd441095cc97f0ae2dd2d7e78fd..94dd6518afbec24535f24ed5f219abc404429684 100644 |
--- a/src/core/SkPath.cpp |
+++ b/src/core/SkPath.cpp |
@@ -97,7 +97,8 @@ public: |
} |
~SkAutoPathBoundsUpdate() { |
- fPath->setIsConvex(fDegenerate); |
+ fPath->setConvexity(fDegenerate ? SkPath::kConvex_Convexity |
+ : SkPath::kUnknown_Convexity); |
if (fEmpty || fHasValidBounds) { |
fPath->setBounds(fRect); |
} |