diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-21 15:13:34 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-21 15:13:34 +0000 |
commit | a5809a3e4cb356387c5201ab9c0a10edf11a01be (patch) | |
tree | 198fd57f3f62730ae2b4719bc6ccaa59da6e0457 /src/pathops/SkPathOpsSimplify.cpp | |
parent | 8ea69838a4f00281c744e8c8e7fc95375c0aa1e5 (diff) |
SkPath::rewind needs to have same reset as SkPath::reset.
R=caryclark@google.com, reed@google.com
Review URL: https://codereview.chromium.org/17432003
git-svn-id: http://skia.googlecode.com/svn/trunk@9718 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pathops/SkPathOpsSimplify.cpp')
-rw-r--r-- | src/pathops/SkPathOpsSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkPathOpsSimplify.cpp b/src/pathops/SkPathOpsSimplify.cpp index f89c4afcc7..fd40c38503 100644 --- a/src/pathops/SkPathOpsSimplify.cpp +++ b/src/pathops/SkPathOpsSimplify.cpp @@ -164,8 +164,8 @@ bool Simplify(const SkPath& path, SkPath* result) { SkTArray<SkOpContour*, true> contourList; MakeContourList(contours, contourList, false, false); SkOpContour** currentPtr = contourList.begin(); - result->setFillType(fillType); result->reset(); + result->setFillType(fillType); if (!currentPtr) { return true; } |