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