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

Unified Diff: mojo/edk/system/waiter_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/waiter_test_utils.cc
diff --git a/mojo/edk/system/waiter_test_utils.cc b/mojo/edk/system/waiter_test_utils.cc
index 5e3acf9df4db52f28ed760cb13bdd54b2057ffbb..b2423ab40de58959012a8c5697a359e1a0a5f746 100644
--- a/mojo/edk/system/waiter_test_utils.cc
+++ b/mojo/edk/system/waiter_test_utils.cc
@@ -24,7 +24,7 @@ SimpleWaiterThread::~SimpleWaiterThread() {
}
void SimpleWaiterThread::Run() {
- *result_ = waiter_.Wait(MOJO_DEADLINE_INDEFINITE, context_);
+ *result_ = waiter_.Wait(MOJO_DEADLINE_INDEFINITE, context_, nullptr);
}
WaiterThread::WaiterThread(RefPtr<Dispatcher>&& dispatcher,
@@ -64,7 +64,7 @@ void WaiterThread::Run() {
return;
*did_wait_out_ = true;
- *result_out_ = waiter_.Wait(deadline_, context_out_);
+ *result_out_ = waiter_.Wait(deadline_, context_out_, nullptr);
dispatcher_->RemoveAwakable(&waiter_, signals_state_out_);
}

Powered by Google App Engine
This is Rietveld 408576698