Index: third_party/WebKit/Source/core/layout/ScrollAnchor.h |
diff --git a/third_party/WebKit/Source/core/layout/ScrollAnchor.h b/third_party/WebKit/Source/core/layout/ScrollAnchor.h |
index 4c1f6259327af790148a3e3a2e8f8c04c1d4780e..f129095879869c6640f184d2516478daabf84676 100644 |
--- a/third_party/WebKit/Source/core/layout/ScrollAnchor.h |
+++ b/third_party/WebKit/Source/core/layout/ScrollAnchor.h |
@@ -24,10 +24,10 @@ public: |
// The LayoutObject we are currently anchored to. Lazily computed during |
// save() and cached until the next call to clear(). |
- const LayoutObject* anchorObject() const { return m_anchorObject; } |
+ LayoutObject* anchorObject() const { return m_anchorObject; } |
// Invalidates the anchor. |
- void clear() { m_anchorObject = nullptr; } |
+ void clear(); |
// Records the anchor's location in relation to the scroller. Should be |
// called when the scroller is about to be laid out. |
@@ -45,7 +45,7 @@ private: |
RawPtrWillBeMember<ScrollableArea> m_scroller; |
// The LayoutObject we should anchor to. Lazily computed. |
- const LayoutObject* m_anchorObject; |
+ LayoutObject* m_anchorObject; |
// Location of m_layoutObject relative to scroller at time of save(). |
DoublePoint m_savedRelativeOffset; |