diff options
Diffstat (limited to 'src/core/SkPath.cpp')
-rw-r--r-- | src/core/SkPath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index 53678de40e..4c7ebe5879 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp @@ -263,14 +263,14 @@ bool SkPath::conservativelyContainsRect(const SkRect& rect) const { SkPoint firstPt; SkPoint prevPt; - RawIter iter(*this); + SkPath::Iter iter(*this, true); SkPath::Verb verb; SkPoint pts[4]; SkDEBUGCODE(int moveCnt = 0;) SkDEBUGCODE(int segmentCount = 0;) SkDEBUGCODE(int closeCount = 0;) - while ((verb = iter.next(pts)) != kDone_Verb) { + while ((verb = iter.next(pts, true, true)) != kDone_Verb) { int nextPt = -1; switch (verb) { case kMove_Verb: |