Chromium Code Reviews| Index: Source/platform/mac/ScrollElasticityController.mm |
| diff --git a/Source/platform/mac/ScrollElasticityController.mm b/Source/platform/mac/ScrollElasticityController.mm |
| index 0ab305b6ab91823e3ff09e4e30feebf082a77ac4..49f6a891f91288ceb2b508b82066c44434ed09ee 100644 |
| --- a/Source/platform/mac/ScrollElasticityController.mm |
| +++ b/Source/platform/mac/ScrollElasticityController.mm |
| @@ -357,7 +357,8 @@ 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(); |
|
eseidel
2014/05/29 00:12:20
Commented out code..??
|
| +m_client->immediateScrollBy(m_origOrigin - m_client->absoluteScrollPosition()); |
|
eseidel
2014/05/29 00:12:20
Bad indent??
|
| stopSnapRubberbandTimer(); |
| m_stretchScrollForce = FloatSize(); |