Index: third_party/WebKit/Source/core/layout/ScrollAnchor.cpp |
diff --git a/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp b/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp |
index 54a0ed6038e088ab2d9485421ceac7a778233693..797fe4655510023f27b7fb1e636dbc390201d3e5 100644 |
--- a/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp |
+++ b/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp |
@@ -195,6 +195,7 @@ void ScrollAnchor::restore() |
ScrollAnimatorBase* animator = m_scroller->existingScrollAnimator(); |
if (!animator || !animator->hasRunningAnimation()) { |
m_scroller->setScrollPosition(desiredPos, AnchoringScroll); |
+ animator->updateImplOnlyScrollOffsetAnimation(FloatSize(adjustment)); |
} else { |
// If in the middle of a scroll animation, stop the animation, make |
// the adjustment, and continue the animation on the pending delta. |