Remove an unused variable.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Dec 2010 22:25:01 +0000 (22:25 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Dec 2010 22:25:01 +0000 (22:25 +0000)
* WebView/WebDynamicScrollBarsView.mm:
(-[WebDynamicScrollBarsView setScrollOrigin:updatePosition:]):

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

WebKit/mac/ChangeLog
WebKit/mac/WebView/WebDynamicScrollBarsView.mm

index 1671ae4..8faaabb 100644 (file)
@@ -1,3 +1,10 @@
+2010-12-08  Anders Carlsson  <andersca@apple.com>
+
+        Remove an unused variable.
+
+        * WebView/WebDynamicScrollBarsView.mm:
+        (-[WebDynamicScrollBarsView setScrollOrigin:updatePosition:]):
+
 2010-12-07  Brian Weinstein  <bweinstein@apple.com>
 
         Reviewed by John Sullivan.
index 1c6980f..79c3067 100644 (file)
@@ -578,7 +578,6 @@ static const unsigned cMaxUpdateScrollbarsPass = 2;
     // so we don't have to check for equivalence here.
     _private->scrollOrigin = scrollOrigin;
     id docView = [self documentView];
-    NSPoint docOrigin = [docView bounds].origin;
 
     NSRect visibleRect = [self documentVisibleRect];