Index: ash/test/ash_test_helper.cc |
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc |
index b7391e31a2f0acb51184cd189bff294472f1067c..9d8ea72a75815660c99d4acc27ef78ea57adcb68 100644 |
--- a/ash/test/ash_test_helper.cc |
+++ b/ash/test/ash_test_helper.cc |
@@ -111,6 +111,7 @@ void AshTestHelper::TearDown() { |
void AshTestHelper::RunAllPendingInMessageLoop() { |
#if !defined(OS_MACOSX) |
DCHECK(base::MessageLoopForUI::current() == message_loop_); |
+ aura::Env::CreateInstance(); |
dnicoara
2013/09/10 19:15:00
This is needed since this function is being called
|
base::RunLoop run_loop(aura::Env::GetInstance()->GetDispatcher()); |
run_loop.RunUntilIdle(); |
#endif |