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

Unified Diff: third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp b/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp
index a502c53b96b29a08b61a386863e4326a9b634995..a417e1486ef3c95dab9d12e9f42b4a336d534fd9 100644
--- a/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp
+++ b/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp
@@ -76,7 +76,7 @@ static const SkBlendMode kGMapBlendOpsToXfermodeModes[] = {
SkBlendMode WebCoreCompositeToSkiaComposite(CompositeOperator op,
WebBlendMode blend_mode) {
- ASSERT(op == kCompositeSourceOver || blend_mode == kWebBlendModeNormal);
+ DCHECK(op == kCompositeSourceOver || blend_mode == kWebBlendModeNormal);
if (blend_mode != kWebBlendModeNormal) {
if (static_cast<uint8_t>(blend_mode) >=
SK_ARRAY_COUNT(kGMapBlendOpsToXfermodeModes)) {
@@ -311,7 +311,7 @@ void DrawFocusRingPrimitive(const PrimitiveType&,
PaintCanvas*,
const PaintFlags&,
float corner_radius) {
- ASSERT_NOT_REACHED(); // Missing an explicit specialization?
+ NOTREACHED(); // Missing an explicit specialization?
}
template <>
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698