<http://webkit.org/b/54485> Fix spelling of -inProgramaticScroll
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Feb 2011 23:25:45 +0000 (23:25 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Feb 2011 23:25:45 +0000 (23:25 +0000)
Reviewed by Darin Adler.

* WebView/WebDynamicScrollBarsView.h:
* WebView/WebDynamicScrollBarsView.mm:
(-[WebDynamicScrollBarsView inProgrammaticScroll]): Renamed from
-inProgramaticScroll.
* WebView/WebHTMLView.mm:
(-[WebHTMLView _frameOrBoundsChanged]): Corrected method name.

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

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebDynamicScrollBarsView.h
Source/WebKit/mac/WebView/WebDynamicScrollBarsView.mm
Source/WebKit/mac/WebView/WebHTMLView.mm

index a36f109f92eaeed2e6ef454438dde98b3ea4e93a..6724a86e2b5c564d68e4e1a3d4810679cae31f3c 100644 (file)
@@ -1,3 +1,16 @@
+2011-02-15  David Kilzer  <ddkilzer@apple.com>
+
+        <http://webkit.org/b/54485> Fix spelling of -inProgramaticScroll
+
+        Reviewed by Darin Adler.
+
+        * WebView/WebDynamicScrollBarsView.h:
+        * WebView/WebDynamicScrollBarsView.mm:
+        (-[WebDynamicScrollBarsView inProgrammaticScroll]): Renamed from
+        -inProgramaticScroll.
+        * WebView/WebHTMLView.mm:
+        (-[WebHTMLView _frameOrBoundsChanged]): Corrected method name.
+
 2011-02-15  Kenneth Russell  <kbr@google.com>
 
         Reviewed by Darin Fisher.
index b89462dc87a97764a6919b8a77a4e46d73c0b2ef..3543868280275636e8ab315df41a04f2772570fe 100644 (file)
@@ -63,5 +63,5 @@ struct WebDynamicScrollBarsViewPrivate;
 // scrollbar.
 // NOTE: As opposed to other places in the code, programmatically moving the
 // scrollers from inside this class should not fire JS events.
-- (BOOL)inProgramaticScroll;
+- (BOOL)inProgrammaticScroll;
 @end
index 610cd4012c8116c2a26302e0482b2deee8971f52..d31349fdb8accf77ef7e3cd5a088d294ef227b34 100644 (file)
@@ -160,7 +160,7 @@ struct WebDynamicScrollBarsViewPrivate {
     return _private->verticalScrollingAllowedButScrollerHidden || [self hasVerticalScroller];
 }
 
-- (BOOL)inProgramaticScroll
+- (BOOL)inProgrammaticScroll
 {
     return _private->inProgrammaticScroll;
 }
index ff1c400328b39b4377ec6804038bf5b60b2b7080..b7a0012b5eb5a380f51452ca033e1df6d67b9f18 100644 (file)
@@ -1239,7 +1239,7 @@ static void _updateMouseoverTimerCallback(CFRunLoopTimerRef timer, void *info)
     WebDynamicScrollBarsView *scrollView = [[[webView mainFrame] frameView] _scrollView];
 
     NSPoint origin = [[self superview] bounds].origin;
-    if (!NSEqualPoints(_private->lastScrollPosition, origin) && ![scrollView inProgramaticScroll]) {
+    if (!NSEqualPoints(_private->lastScrollPosition, origin) && ![scrollView inProgrammaticScroll]) {
         if (Frame* coreFrame = core([self _frame])) {
             if (FrameView* coreView = coreFrame->view()) {
 #ifndef BUILDING_ON_TIGER