| 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 7aca56d80827869d1fb226204b3c8aaeb201655e..a1d9c9f55742f59acbdfcbe806ed2dc87ca8f74e 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"
|
| @@ -330,6 +331,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();
|
| @@ -371,6 +373,8 @@ private:
|
| // PaintInvalidationCapableScrollableArea
|
| LayoutBox& boxForScrollControlPaintInvalidation() const { return box(); }
|
|
|
| + bool scrollAnchoringEnabled() const;
|
| +
|
| PaintLayer& m_layer;
|
|
|
| // Keeps track of whether the layer is currently resizing, so events can cause resizing to start and stop.
|
| @@ -406,6 +410,8 @@ private:
|
| // LayoutObject to hold our custom resizer.
|
| LayoutScrollbarPart* m_resizer;
|
|
|
| + ScrollAnchor m_scrollAnchor;
|
| +
|
| #if ENABLE(ASSERT)
|
| bool m_hasBeenDisposed;
|
| #endif
|
|
|