Index: src/pathops/SkPathOpsTypes.h |
diff --git a/src/pathops/SkPathOpsTypes.h b/src/pathops/SkPathOpsTypes.h |
index 6158f13576081c3eb089f3c56ebfba105109fefd..19e3efadd1b1f0a89dd0979a2b5a10b051711e07 100644 |
--- a/src/pathops/SkPathOpsTypes.h |
+++ b/src/pathops/SkPathOpsTypes.h |
@@ -227,7 +227,7 @@ inline SkPath::Verb SkPathOpsPointsToVerb(int points) { |
case 1: SkASSERT(SkPath::kLine_Verb == verb); break; |
case 2: SkASSERT(SkPath::kQuad_Verb == verb); break; |
case 3: SkASSERT(SkPath::kCubic_Verb == verb); break; |
- default: SkASSERT(!"should not be here"); |
+ default: SkDEBUGFAIL("should not be here"); |
} |
#endif |
return (SkPath::Verb)verb; |
@@ -240,7 +240,7 @@ inline int SkPathOpsVerbToPoints(SkPath::Verb verb) { |
case SkPath::kLine_Verb: SkASSERT(1 == points); break; |
case SkPath::kQuad_Verb: SkASSERT(2 == points); break; |
case SkPath::kCubic_Verb: SkASSERT(3 == points); break; |
- default: SkASSERT(!"should not get here"); |
+ default: SkDEBUGFAIL("should not get here"); |
} |
#endif |
return points; |