Index: src/pathops/SkOpContour.h |
diff --git a/src/pathops/SkOpContour.h b/src/pathops/SkOpContour.h |
index 7a1cc09247a49bb614ce1ebbf7ba7f7711368529..899367ab0e4ca99e22a693955c808e295fd80488 100644 |
--- a/src/pathops/SkOpContour.h |
+++ b/src/pathops/SkOpContour.h |
@@ -127,9 +127,9 @@ |
} |
} |
- bool checkEnds() { |
+ void checkEnds() { |
if (!fContainsCurves) { |
- return true; |
+ return; |
} |
int segmentCount = fSegments.count(); |
for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { |
@@ -140,11 +140,8 @@ |
if (segment->done()) { |
continue; // likely coincident, nothing to do |
} |
- if (!segment->checkEnds()) { |
- return false; |
- } |
- } |
- return true; |
+ segment->checkEnds(); |
+ } |
} |
void checkMultiples() { |