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

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

Issue 2637383006: Set layer element id when building layers in PaintArtifactCompositor. (Closed)
Patch Set: Sync to head. Created 3 years, 11 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 22d308f37e2e372cd39186d63c03a70d9a120831..da65dbdd8fec5eb487fc512fccd67f28099406e8 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
@@ -69,6 +69,11 @@ class PLATFORM_EXPORT PropertyTreeState {
m_scroll = std::move(node);
}
+ // Returns the compositor element id, if any, for this property state. If none
+ // of the scroll, effect or transform nodes for this state have a compositor
+ // element id then a default instance is returned.
+ const CompositorElementId compositorElementId() const;
+
enum InnermostNode {
None, // None means that all nodes are their root values
Transform,

Powered by Google App Engine
This is Rietveld 408576698