Index: content/renderer/gpu/gpu_benchmarking_extension.cc |
diff --git a/content/renderer/gpu/gpu_benchmarking_extension.cc b/content/renderer/gpu/gpu_benchmarking_extension.cc |
index b4aadc1821371c8c2cb537cb04af6c68f50f3049..70bf424d7ed9a7205477fca49c823040d0a01d29 100644 |
--- a/content/renderer/gpu/gpu_benchmarking_extension.cc |
+++ b/content/renderer/gpu/gpu_benchmarking_extension.cc |
@@ -35,6 +35,7 @@ |
#include "gin/handle.h" |
#include "gin/object_template_builder.h" |
#include "gpu/ipc/common/gpu_messages.h" |
+#include "third_party/WebKit/public/platform/CoalescedWebInputEvent.h" |
#include "third_party/WebKit/public/web/WebImageCache.h" |
#include "third_party/WebKit/public/web/WebKit.h" |
#include "third_party/WebKit/public/web/WebLocalFrame.h" |
@@ -348,7 +349,8 @@ bool BeginSmoothScroll(v8::Isolate* isolate, |
mouseMove.type = blink::WebInputEvent::MouseMove; |
mouseMove.x = (contentRect.x + contentRect.width / 2) * page_scale_factor; |
mouseMove.y = (contentRect.y + contentRect.height / 2) * page_scale_factor; |
- context.web_view()->handleInputEvent(mouseMove); |
+ context.web_view()->handleInputEvent( |
+ blink::CoalescedWebInputEvent(mouseMove)); |
context.web_view()->setCursorVisibilityState(true); |
} |