Index: src/pathops/SkOpCoincidence.cpp |
diff --git a/src/pathops/SkOpCoincidence.cpp b/src/pathops/SkOpCoincidence.cpp |
index 0d808db4544bbf95fb8d85a412f614b9abfeb75e..87bb91386975f9d3cb13c9febad906b68c319d02 100755 |
--- a/src/pathops/SkOpCoincidence.cpp |
+++ b/src/pathops/SkOpCoincidence.cpp |
@@ -85,6 +85,9 @@ bool SkOpCoincidence::addExpanded(SkChunkAlloc* allocator |
SkOpSpanBase* oStart = oStartPtT->span(); |
const SkOpSpanBase* end = coin->fCoinPtTEnd->span(); |
const SkOpSpanBase* oEnd = coin->fOppPtTEnd->span(); |
+ if (oEnd->deleted()) { |
+ return false; |
+ } |
SkOpSpanBase* test = start->upCast()->next(); |
SkOpSpanBase* oTest = coin->fFlipped ? oStart->prev() : oStart->upCast()->next(); |
while (test != end || oTest != oEnd) { |