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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.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/paint/DisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
index f057e49e09e3140a6e20c61775fa71da1813b727..02248582ddee55b3518303f2d6f334e1dc41190c 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
@@ -47,7 +47,7 @@ static WTF::String PaintPhaseAsDebugString(int paint_phase) {
case DisplayItem::kPaintPhaseMax:
return "PaintPhaseClippingMask";
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "Unknown";
}
}
@@ -62,9 +62,9 @@ static WTF::String PaintPhaseAsDebugString(int paint_phase) {
case DisplayItem::k##DisplayItemName: \
return #DisplayItemName
-#define DEFAULT_CASE \
- default: \
- ASSERT_NOT_REACHED(); \
+#define DEFAULT_CASE \
+ default: \
+ NOTREACHED(); \
return "Unknown"
static WTF::String SpecialDrawingTypeAsDebugString(DisplayItem::Type type) {

Powered by Google App Engine
This is Rietveld 408576698