Index: experimental/StrokePathRenderer/GrStrokePathRenderer.cpp |
diff --git a/experimental/StrokePathRenderer/GrStrokePathRenderer.cpp b/experimental/StrokePathRenderer/GrStrokePathRenderer.cpp |
index 0b0ea60afabb18a7e074facc93a15fd8b22b5b61..fbfc7654bb213cf41334ea9d53e60c73a048f950 100644 |
--- a/experimental/StrokePathRenderer/GrStrokePathRenderer.cpp |
+++ b/experimental/StrokePathRenderer/GrStrokePathRenderer.cpp |
@@ -266,7 +266,7 @@ bool GrStrokePathRenderer::onDrawPath(const SkPath& origPath, |
break; |
case SkPath::kQuad_Verb: |
case SkPath::kCubic_Verb: |
- SkASSERT(!"Curves not supported!"); |
+ SkDEBUGFAIL("Curves not supported!"); |
default: |
// Unhandled cases |
SkASSERT(false); |
@@ -283,7 +283,7 @@ bool GrStrokePathRenderer::onDrawPath(const SkPath& origPath, |
lastPt [1] += dir; |
break; |
case SkPaint::kRound_Cap: |
- SkASSERT(!"Round caps not supported!"); |
+ SkDEBUGFAIL("Round caps not supported!"); |
default: // No cap |
break; |
} |