Remove a unused variable.
authorthakis@chromium.org <thakis@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Jan 2012 23:40:36 +0000 (23:40 +0000)
committerthakis@chromium.org <thakis@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Jan 2012 23:40:36 +0000 (23:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=76307

Reviewed by James Robinson.

* platform/mac/ScrollElasticityController.mm:
(WebCore::ScrollElasticityController::snapRubberBandTimerFired):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105003 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/mac/ScrollElasticityController.mm

index d64c7da..f2d7b22 100644 (file)
@@ -1,3 +1,13 @@
+2012-01-13  Nico Weber  <thakis@chromium.org>
+
+        Remove a unused variable.
+        https://bugs.webkit.org/show_bug.cgi?id=76307
+
+        Reviewed by James Robinson.
+
+        * platform/mac/ScrollElasticityController.mm:
+        (WebCore::ScrollElasticityController::snapRubberBandTimerFired):
+
 2012-01-13  Nate Chapin  <japhet@chromium.org>
 
         Revert most of the multipart changes in
index 88cda00..db731af 100644 (file)
@@ -340,8 +340,6 @@ void ScrollElasticityController::snapRubberBandTimerFired()
                          roundToDevicePixelTowardZero(elasticDeltaForTimeDelta(m_startStretch.height(), -m_origVelocity.height(), (float)timeDelta)));
 
         if (fabs(delta.x()) >= 1 || fabs(delta.y()) >= 1) {
-            FloatPoint newOrigin = m_origOrigin + delta;
-
             m_client->immediateScrollByWithoutContentEdgeConstraints(FloatSize(delta.x(), delta.y()) - m_client->stretchAmount());
 
             FloatSize newStretch = m_client->stretchAmount();