| Index: ipc/sync_socket_unittest.cc
|
| diff --git a/ipc/sync_socket_unittest.cc b/ipc/sync_socket_unittest.cc
|
| index 3385646bd70dd54731fa169642cf2eac05cf6dd3..dfcd025f046814a18f84eead3aeb99dbbe17e3f9 100644
|
| --- a/ipc/sync_socket_unittest.cc
|
| +++ b/ipc/sync_socket_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| #include "base/macros.h"
|
| +#include "base/run_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/threading/thread.h"
|
| #include "build/build_config.h"
|
| @@ -115,7 +116,7 @@ MULTIPROCESS_IPC_TEST_CLIENT_MAIN(SyncSocketServerClient) {
|
| IPCTestBase::GetChannelName("SyncSocketServerClient"), &listener));
|
| EXPECT_TRUE(channel->Connect());
|
| listener.Init(channel.get());
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| return 0;
|
| }
|
|
|
| @@ -199,7 +200,7 @@ TEST_F(SyncSocketTest, SanityTest) {
|
| #endif // defined(OS_WIN)
|
| EXPECT_TRUE(sender()->Send(msg));
|
| // Use the current thread as the I/O thread.
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| // Shut down.
|
| pair[0].Close();
|
| pair[1].Close();
|
|
|