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

Unified Diff: Source/platform/graphics/paint/DisplayItem.cpp

Issue 1212293003: Clean up BoxClipper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/platform/graphics/paint/DisplayItem.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/DisplayItem.cpp
diff --git a/Source/platform/graphics/paint/DisplayItem.cpp b/Source/platform/graphics/paint/DisplayItem.cpp
index 58b42d478555af9c107f94ffbf8970ca5c0fd752..c5ea8215da9c523be93db06cc0d55cc498b57665 100644
--- a/Source/platform/graphics/paint/DisplayItem.cpp
+++ b/Source/platform/graphics/paint/DisplayItem.cpp
@@ -148,6 +148,9 @@ WTF::String DisplayItem::typeAsDebugString(Type type)
if (isEndClipType(type))
return "End" + clipTypeAsDebugString(endClipTypeToClipType(type));
+ if (type == UninitializedType)
+ return "UninitializedType";
+
PAINT_PHASE_BASED_DEBUG_STRINGS(FloatClip);
if (isEndFloatClipType(type))
return "End" + typeAsDebugString(endFloatClipTypeToFloatClipType(type));
« no previous file with comments | « Source/platform/graphics/paint/DisplayItem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698