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 54a7f24099bfe08a2ab56c432cb2020c2f8fdb9c..9e8e536c786f4909af8e4d23697bdde79c119643 100644 |
--- a/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp |
+++ b/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp |
@@ -246,6 +246,7 @@ void ScrollAnchor::adjust(IntSize adjustment) |
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. |