Index: ipc/mojo/async_handle_waiter_unittest.cc |
diff --git a/ipc/mojo/async_handle_waiter_unittest.cc b/ipc/mojo/async_handle_waiter_unittest.cc |
index 38f3bd68e40cde36f9ce1d098b25bb8ba4e481f2..441b4ecd316c4c9bfd1dc83e358a77e7e359e30b 100644 |
--- a/ipc/mojo/async_handle_waiter_unittest.cc |
+++ b/ipc/mojo/async_handle_waiter_unittest.cc |
@@ -5,8 +5,9 @@ |
#include "ipc/mojo/async_handle_waiter.h" |
#include "base/bind.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/location.h" |
#include "base/run_loop.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/threading/thread.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/mojo/src/mojo/public/cpp/system/message_pipe.h" |
@@ -58,7 +59,7 @@ class AsyncHandleWaiterTest : public testing::Test { |
} |
void WriteToPipeFromWorker() { |
- worker_.message_loop_proxy()->PostTask( |
+ worker_.task_runner()->PostTask( |
FROM_HERE, base::Bind(&AsyncHandleWaiterTest::WriteToPipe, |
base::Unretained(this))); |
} |