Title: [112363] trunk/Source/WebKit/chromium
Revision
112363
Author
[email protected]
Date
2012-03-27 21:27:18 -0700 (Tue, 27 Mar 2012)

Log Message

[chromium] Send wheel events to main thread even if we think nothing is scrollable
https://bugs.webkit.org/show_bug.cgi?id=82408

Patch by James Robinson <[email protected]> on 2012-03-27
Reviewed by Adrienne Walker.

* src/WebCompositorInputHandlerImpl.cpp:
(WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (112362 => 112363)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-03-28 04:19:05 UTC (rev 112362)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-03-28 04:27:18 UTC (rev 112363)
@@ -1,3 +1,13 @@
+2012-03-27  James Robinson  <[email protected]>
+
+        [chromium] Send wheel events to main thread even if we think nothing is scrollable
+        https://bugs.webkit.org/show_bug.cgi?id=82408
+
+        Reviewed by Adrienne Walker.
+
+        * src/WebCompositorInputHandlerImpl.cpp:
+        (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
+
 2012-03-27  Nat Duca  <[email protected]>
 
         [chromium] Route monotonic clock up from compositor

Modified: trunk/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp (112362 => 112363)


--- trunk/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp	2012-03-28 04:19:05 UTC (rev 112362)
+++ trunk/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp	2012-03-28 04:27:18 UTC (rev 112363)
@@ -188,7 +188,9 @@
             return DidHandle;
         }
         case CCInputHandlerClient::ScrollIgnored:
-            return DropEvent;
+            // FIXME: This should be DropEvent, but in cases where we fail to properly sync scrollability it's safer to send the
+            // event to the main thread. Change back to DropEvent once we have synchronization bugs sorted out.
+            return DidNotHandle; 
         case CCInputHandlerClient::ScrollFailed:
             return DidNotHandle;
         }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to