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

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 066928e45db84bd9abc1c627f49e9b741edc44e2..d46c21841377d670912c9999e3c1a84454f444b7 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -182,10 +182,6 @@ class PLATFORM_EXPORT DisplayItem {
kEndTransform,
kBeginClipPath,
kEndClipPath,
-
- kSubsequence,
- kEndSubsequence,
-
kUninitializedType,
kTypeLast = kUninitializedType
};
@@ -314,9 +310,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