Index: ash/test/ash_test_helper.cc |
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc |
index e7d6b22e0d7f8d6bfe4f17b186a3a522c9040bd3..4ed2dc11fc82dc371189cf5e6dc5a7b89970e659 100644 |
--- a/ash/test/ash_test_helper.cc |
+++ b/ash/test/ash_test_helper.cc |
@@ -134,7 +134,7 @@ void AshTestHelper::TearDown() { |
void AshTestHelper::RunAllPendingInMessageLoop() { |
DCHECK(base::MessageLoopForUI::current() == message_loop_); |
aura::Env::CreateInstance(); |
- base::RunLoop run_loop(aura::Env::GetInstance()->GetDispatcher()); |
+ base::RunLoop run_loop; |
run_loop.RunUntilIdle(); |
} |