| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 9c99761c650aaa6f37a2e061928317b80a000ceb..a63111c0929c88b375d33b32cf8a9a6314039946 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -2106,7 +2106,8 @@ bool WebViewImpl::hasVerticalScrollbar() {
|
| const WebInputEvent* WebViewImpl::m_currentInputEvent = nullptr;
|
|
|
| WebInputEventResult WebViewImpl::handleInputEvent(
|
| - const WebInputEvent& inputEvent) {
|
| + const WebCoalescedInputEvent& coalescedEvent) {
|
| + const WebInputEvent& inputEvent = coalescedEvent.event();
|
| // TODO(dcheng): The fact that this is getting called when there is no local
|
| // main frame is problematic and probably indicates a bug in the input event
|
| // routing code.
|
| @@ -2209,7 +2210,7 @@ WebInputEventResult WebViewImpl::handleInputEvent(
|
|
|
| // FIXME: This should take in the intended frame, not the local frame root.
|
| WebInputEventResult result = PageWidgetDelegate::handleInputEvent(
|
| - *this, inputEvent, mainFrameImpl()->frame());
|
| + *this, coalescedEvent, mainFrameImpl()->frame());
|
| if (result != WebInputEventResult::NotHandled)
|
| return result;
|
|
|
|
|