Index: ipc/ipc_channel_mojo_unittest.cc |
diff --git a/ipc/ipc_channel_mojo_unittest.cc b/ipc/ipc_channel_mojo_unittest.cc |
index a133ba4367fdb80bea4d4aad915ace923eda6d26..d918d9e3d080a4816fc2272e14604e5b3bd13c76 100644 |
--- a/ipc/ipc_channel_mojo_unittest.cc |
+++ b/ipc/ipc_channel_mojo_unittest.cc |
@@ -1300,7 +1300,7 @@ TEST_F(IPCChannelMojoTest, VerifyGlobalPid) { |
CreateChannel(&listener); |
ASSERT_TRUE(ConnectChannel()); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
channel()->Close(); |
EXPECT_TRUE(WaitForClientShutdown()); |
@@ -1313,7 +1313,7 @@ DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT(IPCChannelMojoTestVerifyGlobalPidClient, |
ListenerThatQuits listener; |
Connect(&listener); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
Close(); |
} |