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

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

Issue 2107103002: Find cached display items directly during painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Still disable subsequence caching for spv2 Created 4 years, 5 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: 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 cb0b833324af5781e97897e9b199f10424c64365..3f2bee555a21289e7f8942eb7d984ee4fbd6d6db 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
@@ -185,8 +185,6 @@ WTF::String DisplayItem::typeAsDebugString(Type type)
{
if (isDrawingType(type))
return drawingTypeAsDebugString(type);
- if (isCachedDrawingType(type))
- return "Cached" + drawingTypeAsDebugString(cachedDrawingTypeToDrawingType(type));
if (isForeignLayerType(type))
return foreignLayerTypeAsDebugString(type);
@@ -224,7 +222,6 @@ WTF::String DisplayItem::typeAsDebugString(Type type)
DEBUG_STRING_CASE(EndClipPath);
DEBUG_STRING_CASE(Subsequence);
DEBUG_STRING_CASE(EndSubsequence);
- DEBUG_STRING_CASE(CachedSubsequence);
DEBUG_STRING_CASE(UninitializedType);
DEFAULT_CASE;
}

Powered by Google App Engine
This is Rietveld 408576698