Index: src/pathops/SkAddIntersections.cpp |
diff --git a/src/pathops/SkAddIntersections.cpp b/src/pathops/SkAddIntersections.cpp |
index 2abf67a09d75ec9021b5b6b1af6e02e986fb0123..b3a82cdeca83032162a25a910f8c8958d145864a 100644 |
--- a/src/pathops/SkAddIntersections.cpp |
+++ b/src/pathops/SkAddIntersections.cpp |
@@ -542,7 +542,8 @@ bool AddIntersectTs(SkOpContour* test, SkOpContour* next, SkOpCoincidence* coinc |
SkTSwap(coinPtT[0], coinPtT[1]); |
SkTSwap(testTAt, nextTAt); |
} |
- SkASSERT(coinPtT[0]->span()->t() < testTAt->span()->t()); |
+ SkASSERT(coincidence->globalState()->debugSkipAssert() |
+ || coinPtT[0]->span()->t() < testTAt->span()->t()); |
if (coinPtT[0]->span()->deleted()) { |
coinIndex = -1; |
continue; |