diff options
Diffstat (limited to 'src/pathops')
-rw-r--r-- | src/pathops/SkOpCoincidence.cpp | 2 | ||||
-rw-r--r-- | src/pathops/SkOpSpan.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pathops/SkOpCoincidence.cpp b/src/pathops/SkOpCoincidence.cpp index 73ab3ab8dd..ab848c8c9f 100644 --- a/src/pathops/SkOpCoincidence.cpp +++ b/src/pathops/SkOpCoincidence.cpp @@ -850,7 +850,7 @@ bool SkOpCoincidence::addMissing(bool* added DEBUG_COIN_DECLARE_PARAMS()) { } } else if (outerOpp == innerOpp) { const SkOpPtT* ooe = outer->oppPtTEnd(); - SkASSERT(!ooe->deleted()); + FAIL_IF(ooe->deleted()); const SkOpPtT* ioe = inner->oppPtTEnd(); if (ioe->deleted()) { return true; diff --git a/src/pathops/SkOpSpan.h b/src/pathops/SkOpSpan.h index af1481e920..bedeabd6b1 100644 --- a/src/pathops/SkOpSpan.h +++ b/src/pathops/SkOpSpan.h @@ -127,7 +127,7 @@ public: *eOut = between(s1->fT, end2->fT, e1->fT) ? end2 : between(s2->fT, end1->fT, e2->fT) ? end1 : nullptr; if (*sOut == *eOut) { - SkASSERT(start1->fT >= end2->fT || start2->fT >= end1->fT); + SkOPOBJASSERT(s1, start1->fT >= end2->fT || start2->fT >= end1->fT); return false; } SkASSERT(!*sOut || *sOut != *eOut); |