| Index: third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h
|
| index e145ac4f83519287d1a4aebedadec3e9f1fda843..186fe5939736d7572652cce9e02bc0e6ca0c4ace 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h
|
| @@ -128,6 +128,11 @@ class PLATFORM_EXPORT TransformPaintPropertyNode
|
| // scrolling, or nullptr otherwise.
|
| const ScrollPaintPropertyNode* scrollNode() const { return m_scroll.get(); }
|
|
|
| + // Returns the scroll node this transform scrolls with respect to. If this
|
| + // is a scroll translation, scrollNode() can be returned. Otherwise, a full
|
| + // ancestor traversal can be required.
|
| + const ScrollPaintPropertyNode* findEnclosingScrollNode() const;
|
| +
|
| // If true, content with this transform node (or its descendant) appears in
|
| // the plane of its parent. This is implemented by flattening the total
|
| // accumulated transform from its ancestors.
|
|
|