Index: components/test_runner/test_plugin.cc |
diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc |
index 681838447287bd8237ccdd326aa3803faf1c6308..725c03951e92d6c7e45bd53e3911eb832d42e4c9 100644 |
--- a/components/test_runner/test_plugin.cc |
+++ b/components/test_runner/test_plugin.cc |
@@ -19,6 +19,7 @@ |
#include "cc/resources/shared_bitmap_manager.h" |
#include "components/test_runner/web_test_delegate.h" |
#include "gpu/command_buffer/client/gles2_interface.h" |
+#include "third_party/WebKit/public/platform/CoalescedWebInputEvent.h" |
#include "third_party/WebKit/public/platform/Platform.h" |
#include "third_party/WebKit/public/platform/WebCompositorSupport.h" |
#include "third_party/WebKit/public/platform/WebGestureEvent.h" |
@@ -536,15 +537,16 @@ GLuint TestPlugin::LoadProgram(const std::string& vertex_source, |
} |
blink::WebInputEventResult TestPlugin::handleInputEvent( |
- const blink::WebInputEvent& event, |
+ const blink::CoalescedWebInputEvent& coalescedEvent, |
blink::WebCursorInfo& info) { |
- const char* event_name = blink::WebInputEvent::GetName(event.type); |
+ const char* event_name = |
+ blink::WebInputEvent::GetName(coalescedEvent.event().type); |
if (!strcmp(event_name, "") || !strcmp(event_name, "Undefined")) |
event_name = "unknown"; |
delegate_->PrintMessage(std::string("Plugin received event: ") + event_name + |
"\n"); |
if (print_event_details_) |
- PrintEventDetails(delegate_, event); |
+ PrintEventDetails(delegate_, coalescedEvent.event()); |
if (print_user_gesture_status_) |
delegate_->PrintMessage( |
std::string("* ") + |