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

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 android 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 9c0636330072af2c7d9c8b23bcef27b9c6f574e1..d303789626b6e8ba5d576d0373de336fb119dabc 100644
--- a/content/renderer/mus/compositor_mus_connection.cc
+++ b/content/renderer/mus/compositor_mus_connection.cc
@@ -131,8 +131,7 @@ void CompositorMusConnection::OnWindowInputEvent(
if (ack_state != INPUT_EVENT_ACK_STATE_NOT_CONSUMED)
return;
base::Callback<void(bool)> ack = base::Bind(&::DoNothingBool);
- 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