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 54d2247c67df657fc37275e1a86e910e62f07de8..800c3667b45b76f16b4a0c2dd957c0fd2c09d355 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/CoalescedWebInputEvent.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" |
@@ -206,11 +207,11 @@ void PepperWebPluginImpl::updateFocus(bool focused, |
void PepperWebPluginImpl::updateVisibility(bool visible) {} |
blink::WebInputEventResult PepperWebPluginImpl::handleInputEvent( |
- const blink::WebInputEvent& event, |
+ const blink::CoalescedWebInputEvent& coalescedEvent, |
blink::WebCursorInfo& cursor_info) { |
if (instance_->FlashIsFullscreenOrPending()) |
return blink::WebInputEventResult::NotHandled; |
- return instance_->HandleInputEvent(event, &cursor_info) |
+ return instance_->HandleInputEvent(coalescedEvent.event(), &cursor_info) |
? blink::WebInputEventResult::HandledApplication |
: blink::WebInputEventResult::NotHandled; |
} |