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