diff options
Diffstat (limited to 'src/pathops')
-rw-r--r-- | src/pathops/SkIntersections.cpp | 2 | ||||
-rwxr-xr-x | src/pathops/SkOpCoincidence.cpp | 2 | ||||
-rw-r--r-- | src/pathops/SkOpSpan.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/pathops/SkIntersections.cpp b/src/pathops/SkIntersections.cpp index 9683796a5b..79206c34ef 100644 --- a/src/pathops/SkIntersections.cpp +++ b/src/pathops/SkIntersections.cpp @@ -67,7 +67,7 @@ int SkIntersections::insert(double one, double two, const SkDPoint& pt) { } } if (fUsed >= fMax) { - SkASSERT(0); // FIXME : this error, if it is to be handled at runtime in release, must + SkOPASSERT(0); // FIXME : this error, if it is to be handled at runtime in release, must // be propagated all the way back down to the caller, and return failure. fUsed = 0; return 0; diff --git a/src/pathops/SkOpCoincidence.cpp b/src/pathops/SkOpCoincidence.cpp index 1390533a51..dadcfa520b 100755 --- a/src/pathops/SkOpCoincidence.cpp +++ b/src/pathops/SkOpCoincidence.cpp @@ -794,7 +794,7 @@ bool SkOpCoincidence::addMissing(bool* added DEBUG_COIN_DECLARE_PARAMS()) { return true; } const SkOpPtT* ice = inner->coinPtTEnd(); - SkASSERT(!ice->deleted()); + FAIL_IF(ice->deleted()); if (outerOpp != innerOpp && this->overlap(ocs, oce, ics, ice, &overS, &overE)) { (void) this->addIfMissing(ocs->starter(oce), ics->starter(ice), overS, overE, outerOppWritable, innerOppWritable, added diff --git a/src/pathops/SkOpSpan.h b/src/pathops/SkOpSpan.h index 023e7acfbe..219020a575 100644 --- a/src/pathops/SkOpSpan.h +++ b/src/pathops/SkOpSpan.h @@ -518,7 +518,7 @@ public: void setOppValue(int oppValue) { SkASSERT(!final()); SkASSERT(fOppSum == SK_MinS32); - SkASSERT(!oppValue || !fDone); + SkOPASSERT(!oppValue || !fDone); fOppValue = oppValue; } |