Index: src/pathops/SkOpContour.h |
diff --git a/src/pathops/SkOpContour.h b/src/pathops/SkOpContour.h |
index dc07c530451bd0083ab399b6b685e641476fff14..f6c879f16f67d9c734b97dba7fa4e8d4b49fe2f3 100644 |
--- a/src/pathops/SkOpContour.h |
+++ b/src/pathops/SkOpContour.h |
@@ -341,12 +341,13 @@ public: |
fXor = isXor; |
} |
- void sortAngles() { |
+ bool sortAngles() { |
SkASSERT(fCount > 0); |
SkOpSegment* segment = &fHead; |
do { |
- segment->sortAngles(); |
+ FAIL_IF(!segment->sortAngles()); |
} while ((segment = segment->next())); |
+ return true; |
} |
const SkPoint& start() const { |