Keep buildbot happy.
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Mar 2007 08:32:01 +0000 (08:32 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Mar 2007 08:32:01 +0000 (08:32 +0000)
        * platform/mac/PlatformScrollBarMac.mm:
        (WebCore::PlatformScrollbar::scrollbarHit):

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

WebCore/ChangeLog
WebCore/platform/mac/PlatformScrollBarMac.mm

index 004b11b849a6497860408776bf0b0bc5ecf6b5c9..d7b8984ced5177136e807c4b907817108e7c7c2f 100644 (file)
@@ -1,3 +1,10 @@
+2007-03-27  Antti Koivisto  <antti@apple.com>
+
+        Keep buildbot happy.
+
+        * platform/mac/PlatformScrollBarMac.mm:
+        (WebCore::PlatformScrollbar::scrollbarHit):
+
 2007-03-26  Antti Koivisto  <antti@apple.com>
 
         Reviewed by Darin.
 2007-03-26  Antti Koivisto  <antti@apple.com>
 
         Reviewed by Darin.
index 5b2a1701f3ea77123ff8c16bb3f9a4fe337a8c74..7f1d513cddf406f3f6e19c9858ecee8febee7b03 100644 (file)
@@ -152,7 +152,7 @@ bool PlatformScrollbar::scrollbarHit(NSScrollerPart hitPart)
         return false; // Impossible to scroll anywhere.
     
     WebCoreScrollBar *bar = (WebCoreScrollBar *)getView();
         return false; // Impossible to scroll anywhere.
     
     WebCoreScrollBar *bar = (WebCoreScrollBar *)getView();
-    int newPos = m_currentPos;
+    int newPos = value();
     switch (hitPart) {
         case NSScrollerDecrementLine:
             newPos -= m_lineStep;
     switch (hitPart) {
         case NSScrollerDecrementLine:
             newPos -= m_lineStep;