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

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

Issue 1313223002: Simplify subtree (now subsequence) caching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 3b240a6aeb521b57c89d5411043a0726fdc21fab..2fedcc69e23eb0d09f0e954e731c7676420f836f 100644
--- a/Source/platform/graphics/paint/DisplayItem.cpp
+++ b/Source/platform/graphics/paint/DisplayItem.cpp
@@ -181,13 +181,6 @@ WTF::String DisplayItem::typeAsDebugString(Type type)
if (isEndTransform3DType(type))
return "End" + transform3DTypeAsDebugString(endTransform3DTypeToTransform3DType(type));
- PAINT_PHASE_BASED_DEBUG_STRINGS(CachedSubtree);
- 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);
@@ -201,6 +194,10 @@ WTF::String DisplayItem::typeAsDebugString(Type type)
DEBUG_STRING_CASE(EndFixedPosition);
DEBUG_STRING_CASE(BeginFixedPositionContainer);
DEBUG_STRING_CASE(EndFixedPositionContainer);
+ DEBUG_STRING_CASE(BeginSubtree);
+ DEBUG_STRING_CASE(EndSubtree);
+ DEBUG_STRING_CASE(CachedSubtree);
+ DEBUG_STRING_CASE(UninitializedType);
DEFAULT_CASE;
}
}

Powered by Google App Engine
This is Rietveld 408576698