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

Unified Diff: content/renderer/mus/compositor_mus_connection_unittest.cc

Issue 2482453002: Don't restart the hang renderer timeout on messages ack'd from the compositor thread. (Closed)
Patch Set: Created 4 years, 1 month 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_unittest.cc
diff --git a/content/renderer/mus/compositor_mus_connection_unittest.cc b/content/renderer/mus/compositor_mus_connection_unittest.cc
index 236bbe33ec41afefe67b3bdd75b784280037a143..3404d8029f619a8aa630fb217dab38a5819fba65 100644
--- a/content/renderer/mus/compositor_mus_connection_unittest.cc
+++ b/content/renderer/mus/compositor_mus_connection_unittest.cc
@@ -206,8 +206,10 @@ void TestRenderWidgetInputHandler::HandleInputEvent(
const ui::LatencyInfo& latency_info,
content::InputEventDispatchType dispatch_type) {
if (delegate_) {
- std::unique_ptr<content::InputEventAck> ack(
- new content::InputEventAck(input_event.type, state_));
+ std::unique_ptr<content::InputEventAck> ack(new content::InputEventAck(
+ content::InputEventAckLocation::
dcheng 2016/11/04 18:24:49 Nit: though it's not really changed by this CL, co
dtapuska 2016/11/04 20:14:16 Done.
+ INPUT_EVENT_ACK_LOCATION_COMPOSITOR_THREAD,
+ input_event.type, state_));
delegate_->OnInputEventAck(std::move(ack));
}
}

Powered by Google App Engine
This is Rietveld 408576698