Reviewed by Beth.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Dec 2006 21:29:45 +0000 (21:29 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Dec 2006 21:29:45 +0000 (21:29 +0000)
        - fix http://bugs.webkit.org/show_bug.cgi?id=11632
          AKA <rdar://problem/4858866> REGRESSION (r17770): Overflow areas' scrollbars don't work

        No test case added at the moment, but Beth said she'd investigate
        adding one after the fact.

        * page/mac/EventHandlerMac.mm:
        (WebCore::EventHandler::passMousePressEventToScrollbar):
        Fix obvious-in-retrospect copy and paste error -- call
        passMouseDownEventToWidget instead of passWheelEventToWidget.

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

WebCore/ChangeLog
WebCore/page/mac/EventHandlerMac.mm

index 8148daebd5e966b619c5d4e3aadee69e3dd0aada..d6ec610845abe4bdf29ebe9a1053a3858bc29dc1 100644 (file)
@@ -1,3 +1,18 @@
+2006-12-04  Darin Adler  <darin@apple.com>
+
+        Reviewed by Beth.
+
+        - fix http://bugs.webkit.org/show_bug.cgi?id=11632
+          AKA <rdar://problem/4858866> REGRESSION (r17770): Overflow areas' scrollbars don't work
+
+        No test case added at the moment, but Beth said she'd investigate
+        adding one after the fact.
+
+        * page/mac/EventHandlerMac.mm:
+        (WebCore::EventHandler::passMousePressEventToScrollbar):
+        Fix obvious-in-retrospect copy and paste error -- call
+        passMouseDownEventToWidget instead of passWheelEventToWidget.
+
 2006-12-04  Don Gibson  <dgibson77@gmail.com>
 
         Reviewed and landed by Alexey.
index 317520ca3416b1df73b3682b3e266b5ab607a0ad..b845f01857660a7a855cf21eb1322628e6abbf9b 100644 (file)
@@ -1043,7 +1043,7 @@ bool EventHandler::passWheelEventToSubframe(PlatformWheelEvent&, Frame* subframe
 
 bool EventHandler::passMousePressEventToScrollbar(MouseEventWithHitTestResults&, PlatformScrollbar* scrollbar)
 {
-    return passWheelEventToWidget(scrollbar);
+    return passMouseDownEventToWidget(scrollbar);
 }
 
 }