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 39cb14e90bea3899e7fbac7717b2966d9bab05ca..ea243ed1406785ac2479b55b793cf5c5fcc1357a 100644 |
--- a/mojo/edk/system/waiter_test_utils.cc |
+++ b/mojo/edk/system/waiter_test_utils.cc |
@@ -55,14 +55,14 @@ WaiterThread::~WaiterThread() { |
void WaiterThread::Run() { |
waiter_.Init(); |
- *result_out_ = dispatcher_->AddWaiter(&waiter_, handle_signals_, context_, |
- signals_state_out_); |
+ *result_out_ = dispatcher_->AddAwakable(&waiter_, handle_signals_, context_, |
+ signals_state_out_); |
if (*result_out_ != MOJO_RESULT_OK) |
return; |
*did_wait_out_ = true; |
*result_out_ = waiter_.Wait(deadline_, context_out_); |
- dispatcher_->RemoveWaiter(&waiter_, signals_state_out_); |
+ dispatcher_->RemoveAwakable(&waiter_, signals_state_out_); |
} |
} // namespace test |