| 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
|
|
|