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

Unified Diff: services/shell/tests/shell/shell_unittest.cc

Issue 2104363004: Remove remaining calls to deprecated MessageLoop methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR gab Created 4 years, 5 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
« no previous file with comments | « remoting/test/protocol_perftest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/shell/shell_unittest.cc
diff --git a/services/shell/tests/shell/shell_unittest.cc b/services/shell/tests/shell/shell_unittest.cc
index d751b16c2d396ea29afeedd39127232f6b83c656..8ecd559b7abb5cd6939beda757fdf4395339f78a 100644
--- a/services/shell/tests/shell/shell_unittest.cc
+++ b/services/shell/tests/shell/shell_unittest.cc
@@ -183,7 +183,7 @@ TEST_F(ShellTest, CreateInstance) {
// 2. Wait for the target to connect to us. (via
// mojo:shell_unittest)
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
EXPECT_FALSE(connection->IsPending());
uint32_t remote_id = connection->GetRemoteInstanceID();
@@ -215,7 +215,7 @@ TEST_F(ShellTest, CreateInstance) {
base::Bind(&ShellTest::OnDriverQuit,
base::Unretained(this)));
driver->QuitDriver();
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
} // namespace shell
« no previous file with comments | « remoting/test/protocol_perftest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698