Title: [105003] trunk/Source/WebCore
Revision
105003
Author
tha...@chromium.org
Date
2012-01-13 15:40:36 -0800 (Fri, 13 Jan 2012)

Log Message

Remove a unused variable.
https://bugs.webkit.org/show_bug.cgi?id=76307

Reviewed by James Robinson.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (105002 => 105003)


--- trunk/Source/WebCore/ChangeLog	2012-01-13 23:39:26 UTC (rev 105002)
+++ trunk/Source/WebCore/ChangeLog	2012-01-13 23:40:36 UTC (rev 105003)
@@ -1,3 +1,13 @@
+2012-01-13  Nico Weber  <tha...@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  <jap...@chromium.org>
 
         Revert most of the multipart changes in

Modified: trunk/Source/WebCore/platform/mac/ScrollElasticityController.mm (105002 => 105003)


--- trunk/Source/WebCore/platform/mac/ScrollElasticityController.mm	2012-01-13 23:39:26 UTC (rev 105002)
+++ trunk/Source/WebCore/platform/mac/ScrollElasticityController.mm	2012-01-13 23:40:36 UTC (rev 105003)
@@ -340,8 +340,6 @@
                          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();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to