Index: Source/platform/mac/ScrollElasticityController.mm |
diff --git a/Source/platform/mac/ScrollElasticityController.mm b/Source/platform/mac/ScrollElasticityController.mm |
index 0ab305b6ab91823e3ff09e4e30feebf082a77ac4..2a78c271c290279388db28ab8dbcc5c5b12b36a5 100644 |
--- a/Source/platform/mac/ScrollElasticityController.mm |
+++ b/Source/platform/mac/ScrollElasticityController.mm |
@@ -357,7 +357,7 @@ void ScrollElasticityController::snapRubberBandTimerFired() |
m_stretchScrollForce.setWidth(reboundDeltaForElasticDelta(newStretch.width())); |
m_stretchScrollForce.setHeight(reboundDeltaForElasticDelta(newStretch.height())); |
} else { |
- m_client->immediateScrollBy(m_origOrigin - m_client->absoluteScrollPosition()); |
+ m_client->adjustScrollPositionToBoundsIfNecessary(); |
stopSnapRubberbandTimer(); |
m_stretchScrollForce = FloatSize(); |