Index: base/message_loop_unittest.cc |
diff --git a/base/message_loop_unittest.cc b/base/message_loop_unittest.cc |
index c839fac8925aada83b7b1d4bf46493631f33802b..984a025754c2b28d381e19fecfd37fa465e2803a 100644 |
--- a/base/message_loop_unittest.cc |
+++ b/base/message_loop_unittest.cc |
@@ -327,7 +327,7 @@ void RunTest_PostDelayedTask_SharedTimer( |
// and then run all pending to force them both to have run. This is just |
// encouraging flakiness if there is any. |
PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)); |
- loop.RunUntilIdle(); |
+ base::RunLoop().RunUntilIdle(); |
EXPECT_TRUE(run_time1.is_null()); |
EXPECT_FALSE(run_time2.is_null()); |
@@ -383,7 +383,7 @@ void RunTest_PostDelayedTask_SharedTimer_SubPump() { |
// and then run all pending to force them both to have run. This is just |
// encouraging flakiness if there is any. |
PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)); |
- loop.RunUntilIdle(); |
+ base::RunLoop().RunUntilIdle(); |
EXPECT_TRUE(run_time.is_null()); |
} |