Index: src/pathops/SkPathOpsCommon.cpp |
diff --git a/src/pathops/SkPathOpsCommon.cpp b/src/pathops/SkPathOpsCommon.cpp |
index 9a8a2cf4e31dcd269d624b8a5d7664bcf87d5f8a..f7b7273a8d0cf3676a44c414b575e3877c22e66d 100644 |
--- a/src/pathops/SkPathOpsCommon.cpp |
+++ b/src/pathops/SkPathOpsCommon.cpp |
@@ -699,7 +699,9 @@ bool HandleCoincidence(SkTArray<SkOpContour*, true>* contourList, int total) { |
#if DEBUG_SHOW_WINDING |
SkOpContour::debugShowWindingValues(contourList); |
#endif |
- CoincidenceCheck(contourList, total); |
+ if (!CoincidenceCheck(contourList, total)) { |
+ return false; |
+ } |
#if DEBUG_SHOW_WINDING |
SkOpContour::debugShowWindingValues(contourList); |
#endif |