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

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

Issue 1193433004: Blink-side contiguous allocation of display items. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor tweaks to make reviewing easier 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
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..e9baa9fdbc7a7f93a1b8f381be751e586b5ce226 100644
--- a/Source/platform/graphics/paint/DisplayItem.cpp
+++ b/Source/platform/graphics/paint/DisplayItem.cpp
@@ -165,6 +165,9 @@ WTF::String DisplayItem::typeAsDebugString(Type type)
PAINT_PHASE_BASED_DEBUG_STRINGS(BeginSubtree);
PAINT_PHASE_BASED_DEBUG_STRINGS(EndSubtree);
+ if (type == UninitializedType)
+ return "UninitializedType";
+
switch (type) {
DEBUG_STRING_CASE(BeginFilter);
DEBUG_STRING_CASE(EndFilter);

Powered by Google App Engine
This is Rietveld 408576698