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

Unified Diff: experimental/StrokePathRenderer/GrStrokePathRenderer.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 | « bench/benchmain.cpp ('k') | src/core/SkBitmapFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « bench/benchmain.cpp ('k') | src/core/SkBitmapFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698