commit | a5809a3e4cb356387c5201ab9c0a10edf11a01be | [log] [tgz] |
---|---|---|
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jun 21 15:13:34 2013 +0000 |
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jun 21 15:13:34 2013 +0000 |
tree | 198fd57f3f62730ae2b4719bc6ccaa59da6e0457 | |
parent | 8ea69838a4f00281c744e8c8e7fc95375c0aa1e5 [diff] [blame] |
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
diff --git a/src/pathops/SkPathOpsSimplify.cpp b/src/pathops/SkPathOpsSimplify.cpp index f89c4af..fd40c38 100644 --- a/src/pathops/SkPathOpsSimplify.cpp +++ b/src/pathops/SkPathOpsSimplify.cpp
@@ -164,8 +164,8 @@ 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; }