| Index: third_party/WebKit/Source/core/frame/FrameView.h
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
|
| index 079a6ced62b1d40bee37e4242b097f4c84c0f8d4..a30ba9afb4329b55c08452c2a9d6c30f812f64e8 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.h
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.h
|
| @@ -31,6 +31,7 @@
|
| #include "core/frame/LayoutSubtreeRootList.h"
|
| #include "core/frame/RootFrameViewport.h"
|
| #include "core/layout/LayoutAnalyzer.h"
|
| +#include "core/layout/ScrollAnchor.h"
|
| #include "core/paint/PaintInvalidationCapableScrollableArea.h"
|
| #include "core/paint/PaintPhase.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| @@ -594,6 +595,8 @@ public:
|
| // Viewport size that should be used for viewport units (i.e. 'vh'/'vw').
|
| FloatSize viewportSizeForViewportUnits() const;
|
|
|
| + ScrollAnchor& scrollAnchor() { return m_scrollAnchor; }
|
| +
|
| protected:
|
| // Scroll the content via the compositor.
|
| bool scrollContentsFastPath(const IntSize& scrollDelta);
|
| @@ -906,6 +909,7 @@ private:
|
| RefPtr<ClipPaintPropertyNode> m_contentClip;
|
|
|
| bool m_isUpdatingAllLifecyclePhases;
|
| + ScrollAnchor m_scrollAnchor;
|
| };
|
|
|
| inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count)
|
|
|