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, |