Chromium Code Reviews| Index: src/core/SkPath.cpp |
| diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp |
| index 8f79fbe37098ac4dec5785f7fb57360090e8f9a7..d5b9660e32f24fe2c80c003e618b08df20a351fd 100644 |
| --- a/src/core/SkPath.cpp |
| +++ b/src/core/SkPath.cpp |
| @@ -97,7 +97,8 @@ public: |
| } |
| ~SkAutoPathBoundsUpdate() { |
|
robertphillips
2013/10/30 21:54:08
I think this is wrong!
reed1
2013/10/31 15:23:23
Done.
|
| - fPath->setIsConvex(fDegenerate); |
| + fPath->setConvexity(fDegenerate ? SkPath::kUnknown_Convexity |
| + : SkPath::kConvex_Convexity); |
| if (fEmpty || fHasValidBounds) { |
| fPath->setBounds(fRect); |
| } |