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

Unified Diff: third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: fix typo Created 3 years, 8 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
Index: third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
index 1487d89d7eda3e3c48f7e00857e16d8c083482f5..936d5575e682f1d5768c0c2820b1861ff4720775 100644
--- a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
@@ -62,7 +62,7 @@ void DrawLooperBuilder::AddShadow(const FloatSize& offset,
const Color& color,
ShadowTransformMode shadow_transform_mode,
ShadowAlphaMode shadow_alpha_mode) {
- ASSERT(blur >= 0);
+ DCHECK_GE(blur, 0);
// Detect when there's no effective shadow.
if (!color.Alpha())
@@ -80,7 +80,7 @@ void DrawLooperBuilder::AddShadow(const FloatSize& offset,
info.fColorMode = SkBlendMode::kSrc;
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
if (blur)

Powered by Google App Engine
This is Rietveld 408576698