| 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 59fd0fec4bc8a868591277e109e2bb0eac4c5448..8db534a74b288a0654ec1fc2231d78756545e3f9 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
|
| @@ -154,6 +154,15 @@ 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))
|
| @@ -181,6 +190,13 @@ 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);
|
| @@ -194,9 +210,6 @@ 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;
|
| }
|
|
|