Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
index 1ca0c3fc079be2af2460f1adbacfc0f7cd184bed..4c7971f2b4646312c0a854f265ececeb51587a9b 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
@@ -45,6 +45,7 @@ class GraphicsLayer; |
class HostWindow; |
class LayoutBox; |
class LayoutObject; |
+class PaintLayer; |
class ProgrammaticScrollAnimator; |
struct ScrollAlignment; |
class ScrollAnchor; |
@@ -204,6 +205,8 @@ class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin { |
virtual Scrollbar* horizontalScrollbar() const { return nullptr; } |
virtual Scrollbar* verticalScrollbar() const { return nullptr; } |
+ virtual PaintLayer* layer() const { return nullptr; } |
+ |
// scrollPosition is the location of the top/left of the scroll viewport in |
// the coordinate system defined by the top/left of the overflow rect. |
// scrollOffset is the offset of the scroll viewport from its position when |