Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: ipc/ipc_channel_mojo_unittest.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698