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

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

Issue 2751433002: [SPv2] Flatten property trees in PaintRecordBuilder into a single display list. (Closed)
Patch Set: none Created 3 years, 9 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/PropertyTreeState.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
index 4bc47b12d3e873d48b453d12c87ddb4e2b4e6a3a..f8c8f9a7d572229b626d5e2811f576015a759972 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
@@ -55,6 +55,8 @@ class PLATFORM_EXPORT PropertyTreeState {
m_effect = std::move(node);
}
+ static const PropertyTreeState& root();
+
// Returns the compositor element id, if any, for this property state. If
// neither the effect nor transform nodes have a compositor element id then a
// default instance is returned.

Powered by Google App Engine
This is Rietveld 408576698