Index: content/renderer/pepper/pepper_webplugin_impl.cc |
diff --git a/content/renderer/pepper/pepper_webplugin_impl.cc b/content/renderer/pepper/pepper_webplugin_impl.cc |
index a188bd4d00cda402567649f1e86153013c39b866..3ff63b0c6e1b11b064e174ce29cfa5893540267d 100644 |
--- a/content/renderer/pepper/pepper_webplugin_impl.cc |
+++ b/content/renderer/pepper/pepper_webplugin_impl.cc |
@@ -21,6 +21,7 @@ |
#include "content/renderer/render_frame_impl.h" |
#include "ppapi/shared_impl/ppapi_globals.h" |
#include "ppapi/shared_impl/var_tracker.h" |
+#include "third_party/WebKit/public/platform/WebCoalescedInputEvent.h" |
#include "third_party/WebKit/public/platform/WebPoint.h" |
#include "third_party/WebKit/public/platform/WebRect.h" |
#include "third_party/WebKit/public/platform/WebSize.h" |
@@ -210,13 +211,13 @@ void PepperWebPluginImpl::UpdateFocus(bool focused, |
void PepperWebPluginImpl::UpdateVisibility(bool visible) {} |
blink::WebInputEventResult PepperWebPluginImpl::HandleInputEvent( |
- const blink::WebInputEvent& event, |
+ const blink::WebCoalescedInputEvent& coalesced_event, |
blink::WebCursorInfo& cursor_info) { |
// Re-entrancy may cause JS to try to execute script on the plugin before it |
// is fully initialized. See: crbug.com/715747. |
if (!instance_ || instance_->FlashIsFullscreenOrPending()) |
return blink::WebInputEventResult::kNotHandled; |
- return instance_->HandleInputEvent(event, &cursor_info) |
+ return instance_->HandleCoalescedInputEvent(coalesced_event, &cursor_info) |
? blink::WebInputEventResult::kHandledApplication |
: blink::WebInputEventResult::kNotHandled; |
} |