Index: third_party/WebKit/Source/core/paint/PaintLayer.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h |
index 3c9991421b30bf38c06f3e770bc203bebae249b6..f2f91213ce35fcfe4a96425d944161ccd250eb86 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h |
@@ -572,6 +572,10 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient { |
GetCompositingState() != kPaintsIntoOwnBacking); |
} |
+ // Returns the ScrollingCoordinator associated with this layer, if |
+ // any. Otherwise nullptr. |
+ ScrollingCoordinator* GetScrollingCoordinator(); |
+ |
// Returns true if the element or any ancestor is transformed. |
bool CompositesWithTransform() const; |