| Index: third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| index dadd454a33048ac234b9b86e0087c94b60fb76b8..94331986c5821fb060d1c092cc9813d991f375c6 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| @@ -47,6 +47,7 @@
|
| #include "platform/testing/UnitTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebClipboard.h"
|
| +#include "public/platform/WebCoalescedInputEvent.h"
|
| #include "public/platform/WebCompositorSupport.h"
|
| #include "public/platform/WebLayer.h"
|
| #include "public/platform/WebMouseWheelEvent.h"
|
| @@ -458,8 +459,10 @@ class EventTestPlugin : public FakeWebPlugin {
|
| : FakeWebPlugin(frame, params),
|
| last_event_type_(WebInputEvent::kUndefined) {}
|
|
|
| - WebInputEventResult HandleInputEvent(const WebInputEvent& event,
|
| - WebCursorInfo&) override {
|
| + WebInputEventResult HandleInputEvent(
|
| + const WebCoalescedInputEvent& coalesced_event,
|
| + WebCursorInfo&) override {
|
| + const WebInputEvent& event = coalesced_event.Event();
|
| last_event_type_ = event.GetType();
|
| if (WebInputEvent::IsMouseEventType(event.GetType()) ||
|
| event.GetType() == WebInputEvent::kMouseWheel) {
|
|
|