Index: ui/aura/test/aura_test_helper.cc |
diff --git a/ui/aura/test/aura_test_helper.cc b/ui/aura/test/aura_test_helper.cc |
index a101eda42fabe530a803efc6387dd25586fb63d9..0175eac4aa3027de4da6d2a9e610b768971690f7 100644 |
--- a/ui/aura/test/aura_test_helper.cc |
+++ b/ui/aura/test/aura_test_helper.cc |
@@ -115,7 +115,7 @@ void AuraTestHelper::TearDown() { |
void AuraTestHelper::RunAllPendingInMessageLoop() { |
// TODO(jbates) crbug.com/134753 Find quitters of this RunLoop and have them |
// use run_loop.QuitClosure(). |
- base::RunLoop run_loop(Env::GetInstance()->GetDispatcher()); |
+ base::RunLoop run_loop; |
run_loop.RunUntilIdle(); |
} |