Index: bench/GradientBench.cpp |
diff --git a/bench/GradientBench.cpp b/bench/GradientBench.cpp |
index b20fc9a65d036f0a4920aabe24f749e84303e845..773522e164bb8340e6b0b8fec0014faf57f44919 100644 |
--- a/bench/GradientBench.cpp |
+++ b/bench/GradientBench.cpp |
@@ -137,7 +137,7 @@ static const char* tilemodename(SkShader::TileMode tm) { |
case SkShader::kMirror_TileMode: |
return "mirror"; |
default: |
- SkASSERT(!"unknown tilemode"); |
+ SkDEBUGFAIL("unknown tilemode"); |
return "error"; |
} |
} |
@@ -149,7 +149,7 @@ static const char* geomtypename(GeomType gt) { |
case kOval_GeomType: |
return "oval"; |
default: |
- SkASSERT(!"unknown geometry type"); |
+ SkDEBUGFAIL("unknown geometry type"); |
return "error"; |
} |
} |