Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: bench/GradientBench.cpp

Issue 22875037: My clang now doesn't complain about !"foo". (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | bench/benchmain.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
}
}
« no previous file with comments | « no previous file | bench/benchmain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698