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

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
« no previous file with comments | « Source/platform/graphics/paint/DisplayItem.h ('k') | Source/platform/graphics/paint/DisplayItemList.h » ('j') | 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 f24578e9295e95171e0982fd887344880c992ac0..25b0bcf79e4bb6e243f672e6e88edb6c865b86af 100644
--- a/Source/platform/graphics/paint/DisplayItem.cpp
+++ b/Source/platform/graphics/paint/DisplayItem.cpp
@@ -180,13 +180,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);
@@ -200,6 +193,10 @@ WTF::String DisplayItem::typeAsDebugString(Type type)
DEBUG_STRING_CASE(EndFixedPosition);
DEBUG_STRING_CASE(BeginFixedPositionContainer);
DEBUG_STRING_CASE(EndFixedPositionContainer);
+ DEBUG_STRING_CASE(BeginSubsequence);
+ DEBUG_STRING_CASE(EndSubsequence);
+ DEBUG_STRING_CASE(CachedSubsequence);
+ DEBUG_STRING_CASE(UninitializedType);
DEFAULT_CASE;
}
}
« no previous file with comments | « Source/platform/graphics/paint/DisplayItem.h ('k') | Source/platform/graphics/paint/DisplayItemList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698