Index: Source/platform/mac/ScrollAnimatorMac.mm |
diff --git a/Source/platform/mac/ScrollAnimatorMac.mm b/Source/platform/mac/ScrollAnimatorMac.mm |
index f0bde43a649baabcea1125b9f43d88d34a866794..bb2668628c8226cf7034d093c4efe2b1e8bd18dd 100644 |
--- a/Source/platform/mac/ScrollAnimatorMac.mm |
+++ b/Source/platform/mac/ScrollAnimatorMac.mm |
@@ -705,7 +705,8 @@ void ScrollAnimatorMac::immediateScrollTo(const FloatPoint& newPosition) |
m_currentPosX = adjustedPosition.x(); |
m_currentPosY = adjustedPosition.y(); |
- notifyPositionChanged(delta); |
+ notifyContentAreaScrolled(delta); |
+ notifyPositionChanged(); |
} |
bool ScrollAnimatorMac::isRubberBandInProgress() const |
@@ -723,12 +724,6 @@ void ScrollAnimatorMac::immediateScrollToPointForScrollAnimation(const FloatPoin |
immediateScrollTo(newPosition); |
} |
-void ScrollAnimatorMac::notifyPositionChanged(const FloatSize& delta) |
-{ |
- notifyContentAreaScrolled(delta); |
- ScrollAnimator::notifyPositionChanged(delta); |
-} |
- |
void ScrollAnimatorMac::contentAreaWillPaint() const |
{ |
if (!scrollableArea()->scrollbarsCanBeActive()) |
@@ -1141,7 +1136,8 @@ void ScrollAnimatorMac::immediateScrollBy(const FloatSize& delta) |
m_currentPosX = newPos.x(); |
m_currentPosY = newPos.y(); |
- notifyPositionChanged(adjustedDelta); |
+ notifyContentAreaScrolled(adjustedDelta); |
+ notifyPositionChanged(); |
} |
void ScrollAnimatorMac::startSnapRubberbandTimer() |