Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(868)

Unified Diff: content/renderer/gpu/gpu_benchmarking_extension.cc

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/idle_user_detector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 196746a154b6a78af2e52fbb89daf6029992c1d7..e9034af09313eacbb9d99637def66bebe18a616a 100644
--- a/content/renderer/gpu/gpu_benchmarking_extension.cc
+++ b/content/renderer/gpu/gpu_benchmarking_extension.cc
@@ -354,7 +354,8 @@ bool BeginSmoothScroll(v8::Isolate* isolate,
ui::EventTimeStampToSeconds(ui::EventTimeForNow()));
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::WebCoalescedInputEvent(mouseMove));
context.web_view()->setCursorVisibilityState(true);
}
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/idle_user_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698