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

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

Issue 997283002: Coalesce async touch move events until the ack back from render (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 8948e9d743a9c901155e291845211d9bb87442e5..3ca2bf24f58cd7113f867434814f832ecbd5f5ab 100644
--- a/content/browser/renderer_host/input/input_router_impl_perftest.cc
+++ b/content/browser/renderer_host/input/input_router_impl_perftest.cc
@@ -233,7 +233,7 @@ class InputRouterImplPerfTest : public testing::Test {
void SendEventAckIfNecessary(const blink::WebInputEvent& event,
InputEventAckState ack_result) {
- if (WebInputEventTraits::IgnoresAckDisposition(event))
+ if (!WebInputEventTraits::WillReceiveAckFromRenderer(event))
return;
InputHostMsg_HandleInputEvent_ACK_Params ack;
ack.type = event.type;

Powered by Google App Engine
This is Rietveld 408576698