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

Unified Diff: content/renderer/mus/compositor_mus_connection.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: Fix up issues from patch set 2 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/renderer/mus/compositor_mus_connection.cc
diff --git a/content/renderer/mus/compositor_mus_connection.cc b/content/renderer/mus/compositor_mus_connection.cc
index 6973de6f6661938c064804b8e4fd6e766db3fa47..3934204b88e602d38cdf4ebfd17e39d2ee55bf37 100644
--- a/content/renderer/mus/compositor_mus_connection.cc
+++ b/content/renderer/mus/compositor_mus_connection.cc
@@ -120,8 +120,7 @@ void CompositorMusConnection::OnWindowInputEvent(
if (ack_state != INPUT_EVENT_ACK_STATE_NOT_CONSUMED)
return;
base::Closure ack = base::Bind(&base::DoNothing);
- const bool send_ack =
- WebInputEventTraits::WillReceiveAckFromRenderer(*web_event);
+ const bool send_ack = WebInputEventTraits::ShouldBlockEventStream(*web_event);
if (send_ack) {
// Ultimately, this ACK needs to go back to the Mus client lib which is not
// thread-safe and lives on the compositor thread. For ACKs that are passed

Powered by Google App Engine
This is Rietveld 408576698