| 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 8abe3757f54b500759bb542f9536845752924f5a..9ef096c99c37786f71afe660aae2950159a11d55 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"
|
| @@ -211,13 +212,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;
|
| }
|
|
|