Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
index 185f2888c58a3ce78d13ccf5fbb8c90284c11984..3249e552126edc53e9054dfeb4f240c39a32d21e 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
@@ -322,7 +322,8 @@ void WebFrameWidgetImpl::themeChanged() { |
const WebInputEvent* WebFrameWidgetImpl::m_currentInputEvent = nullptr; |
WebInputEventResult WebFrameWidgetImpl::handleInputEvent( |
- const WebInputEvent& inputEvent) { |
+ const CoalescedWebInputEvent& coalescedEvent) { |
+ const WebInputEvent& inputEvent = coalescedEvent.event(); |
TRACE_EVENT1("input", "WebFrameWidgetImpl::handleInputEvent", "type", |
WebInputEvent::GetName(inputEvent.type)); |
@@ -331,7 +332,7 @@ WebInputEventResult WebFrameWidgetImpl::handleInputEvent( |
return WebInputEventResult::NotHandled; |
if (InspectorOverlay* overlay = inspectorOverlay()) { |
- if (overlay->handleInputEvent(inputEvent)) |
+ if (overlay->handleInputEvent(coalescedEvent)) |
return WebInputEventResult::HandledSuppressed; |
} |
@@ -388,7 +389,7 @@ WebInputEventResult WebFrameWidgetImpl::handleInputEvent( |
return WebInputEventResult::HandledSystem; |
} |
- return PageWidgetDelegate::handleInputEvent(*this, inputEvent, |
+ return PageWidgetDelegate::handleInputEvent(*this, coalescedEvent, |
m_localRoot->frame()); |
} |