Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
index ba6b5146cb375691b7c02983bac8fbf0de689151..ebd01e1c347157c9bcc6d275efdeee30a85b7051 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
@@ -46,6 +46,7 @@ |
#include "core/CoreExport.h" |
#include "core/layout/LayoutBox.h" |
+#include "core/layout/ScrollAnchor.h" |
#include "core/paint/PaintInvalidationCapableScrollableArea.h" |
#include "core/paint/PaintLayerFragment.h" |
#include "platform/heap/Handle.h" |
@@ -333,6 +334,7 @@ public: |
IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const; |
Widget* widget() override; |
+ ScrollAnchor& scrollAnchor() { return m_scrollAnchor; } |
bool isPaintLayerScrollableArea() const override { return true; } |
DECLARE_VIRTUAL_TRACE(); |
@@ -409,6 +411,8 @@ private: |
// LayoutObject to hold our custom resizer. |
LayoutScrollbarPart* m_resizer; |
+ ScrollAnchor m_scrollAnchor; |
+ |
#if ENABLE(ASSERT) |
bool m_hasBeenDisposed; |
#endif |