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

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

Issue 1425593007: Separate display item clients for negative and normal/positive z-order children (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Struct DisplayItemClient Created 5 years, 1 month 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: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
index dda1ebeb6883316ead55f040f17aa36b6683f4e9..fa72aa8cc47e129f6a32f3849c75c5778048faa7 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
@@ -155,15 +155,6 @@ static String transform3DTypeAsDebugString(DisplayItem::Type type)
}
}
-static String subsequenceTypeAsDebugString(DisplayItem::Type type)
-{
- switch (type) {
- DEBUG_STRING_CASE(SubsequenceNegativeZOrder);
- DEBUG_STRING_CASE(SubsequenceNormalFlowAndPositiveZOrder);
- DEFAULT_CASE;
- }
-}
-
WTF::String DisplayItem::typeAsDebugString(Type type)
{
if (isDrawingType(type))
@@ -191,13 +182,6 @@ WTF::String DisplayItem::typeAsDebugString(Type type)
if (isEndTransform3DType(type))
return "End" + transform3DTypeAsDebugString(endTransform3DTypeToTransform3DType(type));
- if (isSubsequenceType(type))
- return subsequenceTypeAsDebugString(type);
- if (isEndSubsequenceType(type))
- return "End" + subsequenceTypeAsDebugString(endSubsequenceTypeToSubsequenceType(type));
- if (isCachedSubsequenceType(type))
- return "Cached" + subsequenceTypeAsDebugString(cachedSubsequenceTypeToSubsequenceType(type));
-
switch (type) {
DEBUG_STRING_CASE(BeginFilter);
DEBUG_STRING_CASE(EndFilter);
@@ -211,6 +195,9 @@ WTF::String DisplayItem::typeAsDebugString(Type type)
DEBUG_STRING_CASE(EndFixedPosition);
DEBUG_STRING_CASE(BeginFixedPositionContainer);
DEBUG_STRING_CASE(EndFixedPositionContainer);
+ DEBUG_STRING_CASE(Subsequence);
+ DEBUG_STRING_CASE(EndSubsequence);
+ DEBUG_STRING_CASE(CachedSubsequence);
DEBUG_STRING_CASE(CachedDisplayItemList);
DEBUG_STRING_CASE(UninitializedType);
DEFAULT_CASE;

Powered by Google App Engine
This is Rietveld 408576698