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

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

Issue 2793233002: Remove begin/end subseq. display items, and store on PaintController instead. (Closed)
Patch Set: none Created 3 years, 8 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.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
index db334f2df4e0d3dc8988514ce80ddb0663a6dac3..f5fff7a9c6a57efe498bb6ebd714a5fd76094492 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -190,10 +190,6 @@ class PLATFORM_EXPORT DisplayItem {
kEndTransform,
kBeginClipPath,
kEndClipPath,
-
- kSubsequence,
- kEndSubsequence,
-
kUninitializedType,
kTypeLast = kUninitializedType
};
@@ -322,9 +318,7 @@ class PLATFORM_EXPORT DisplayItem {
DEFINE_PAIRED_CATEGORY_METHODS(Transform3D, transform3D)
- static bool isCacheableType(Type type) {
- return isDrawingType(type) || type == kSubsequence;
- }
+ static bool isCacheableType(Type type) { return isDrawingType(type); }
bool isCacheable() const {
return !skippedCache() && isCacheableType(m_type);
}

Powered by Google App Engine
This is Rietveld 408576698