Index: components/plugins/renderer/webview_plugin.cc |
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc |
index 79cf4453e5edadbb9f651db70d13a0a37e171e61..34df3a348716a3f7dfbd92baf3abf0be54a0f26e 100644 |
--- a/components/plugins/renderer/webview_plugin.cc |
+++ b/components/plugins/renderer/webview_plugin.cc |
@@ -28,6 +28,7 @@ |
#include "third_party/WebKit/public/web/WebView.h" |
using blink::WebCanvas; |
+using blink::WebCoalescedInputEvent; |
tommycli
2017/05/09 18:06:11
nit: Remove both blink::WebCoalescedInputEvent and
|
using blink::WebCursorInfo; |
using blink::WebDragData; |
using blink::WebDragOperationsMask; |
@@ -206,8 +207,9 @@ void WebViewPlugin::UpdateFocus(bool focused, blink::WebFocusType focus_type) { |
} |
blink::WebInputEventResult WebViewPlugin::HandleInputEvent( |
- const WebInputEvent& event, |
+ const WebCoalescedInputEvent& coalesced_event, |
WebCursorInfo& cursor) { |
+ const WebInputEvent& event = coalesced_event.Event(); |
// For tap events, don't handle them. They will be converted to |
// mouse events later and passed to here. |
if (event.GetType() == WebInputEvent::kGestureTap) |