Index: components/plugins/renderer/webview_plugin.cc |
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc |
index fd001151967372f39a62f27683e3238b40eb28cf..7e9465954ec124b1ede2542769d97c481ede06ca 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; |
using blink::WebCursorInfo; |
using blink::WebDragData; |
using blink::WebDragOperationsMask; |
@@ -200,8 +201,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) |