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

Unified Diff: content/browser/renderer_host/input/input_router_impl_perftest.cc

Issue 1780953003: Change the non-blocking event queue to the main thread event queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_regression_5
Patch Set: Force ack in renderer to be solely based on the DispatchEventType Created 4 years, 9 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
Index: content/browser/renderer_host/input/input_router_impl_perftest.cc
diff --git a/content/browser/renderer_host/input/input_router_impl_perftest.cc b/content/browser/renderer_host/input/input_router_impl_perftest.cc
index edf67f109a69f752c45cb2580593a4bcbc1c54bf..88a4b72400d86d8db4fdc6493f87b0633f170c26 100644
--- a/content/browser/renderer_host/input/input_router_impl_perftest.cc
+++ b/content/browser/renderer_host/input/input_router_impl_perftest.cc
@@ -239,7 +239,7 @@ class InputRouterImplPerfTest : public testing::Test {
void SendEventAckIfNecessary(const blink::WebInputEvent& event,
InputEventAckState ack_result) {
- if (!WebInputEventTraits::WillReceiveAckFromRenderer(event))
+ if (!WebInputEventTraits::ShouldBlockEventOnRenderer(event))
return;
InputEventAck ack(event.type, ack_result);
InputHostMsg_HandleInputEvent_ACK response(0, ack);

Powered by Google App Engine
This is Rietveld 408576698