Changeset 112363 in webkit


Ignore:
Timestamp:
Mar 27, 2012 9:27:18 PM (12 years ago)
Author:
commit-queue@webkit.org
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 <jamesr@chromium.org> on 2012-03-27
Reviewed by Adrienne Walker.

  • src/WebCompositorInputHandlerImpl.cpp:

(WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):

Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r112360 r112363  
     12012-03-27  James Robinson  <jamesr@chromium.org>
     2
     3        [chromium] Send wheel events to main thread even if we think nothing is scrollable
     4        https://bugs.webkit.org/show_bug.cgi?id=82408
     5
     6        Reviewed by Adrienne Walker.
     7
     8        * src/WebCompositorInputHandlerImpl.cpp:
     9        (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
     10
    1112012-03-27  Nat Duca  <nduca@chromium.org>
    212
  • trunk/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp

    r112343 r112363  
    189189        }
    190190        case CCInputHandlerClient::ScrollIgnored:
    191             return DropEvent;
     191            // FIXME: This should be DropEvent, but in cases where we fail to properly sync scrollability it's safer to send the
     192            // event to the main thread. Change back to DropEvent once we have synchronization bugs sorted out.
     193            return DidNotHandle;
    192194        case CCInputHandlerClient::ScrollFailed:
    193195            return DidNotHandle;
Note: See TracChangeset for help on using the changeset viewer.