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); |