Index: src/core/SkPathRef.h |
diff --git a/src/core/SkPathRef.h b/src/core/SkPathRef.h |
index cff75b640a301cf58353152da340a7b22cb38fea..b789de8c07471efffcd70b484abf690afa442fc0 100644 |
--- a/src/core/SkPathRef.h |
+++ b/src/core/SkPathRef.h |
@@ -424,10 +424,10 @@ private: |
pCnt = 0; |
break; |
case SkPath::kDone_Verb: |
- SkASSERT(!"growForVerb called for kDone"); |
+ SkDEBUGFAIL("growForVerb called for kDone"); |
// fall through |
default: |
- SkASSERT(!"default is not reached"); |
+ SkDEBUGFAIL("default is not reached"); |
pCnt = 0; |
} |
size_t space = sizeof(uint8_t) + pCnt * sizeof (SkPoint); |