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

Unified Diff: mojo/edk/system/message_pipe_test_utils.cc

Issue 2075353002: Plumb the handle signals state out of Waiter::Wait(). (Closed) Base URL: https://github.com/domokit/mojo.git@work795_wait_set_4.3-x-work794_wait_set_4.2
Patch Set: Created 4 years, 6 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: mojo/edk/system/message_pipe_test_utils.cc
diff --git a/mojo/edk/system/message_pipe_test_utils.cc b/mojo/edk/system/message_pipe_test_utils.cc
index eb779669550940b28b47a25306d64237be265ec2..25c6dfe25e1ca0327a70418cd0821b26c2c8a4fc 100644
--- a/mojo/edk/system/message_pipe_test_utils.cc
+++ b/mojo/edk/system/message_pipe_test_utils.cc
@@ -36,7 +36,8 @@ MojoResult WaitIfNecessary(MessagePipe* mp,
: add_result;
}
- MojoResult wait_result = waiter.Wait(MOJO_DEADLINE_INDEFINITE, nullptr);
+ MojoResult wait_result =
+ waiter.Wait(MOJO_DEADLINE_INDEFINITE, nullptr, nullptr);
mp->RemoveAwakable(0, &waiter, signals_state);
return wait_result;
}

Powered by Google App Engine
This is Rietveld 408576698