Index: ash/test/ash_test_helper.cc |
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc |
index 469504b264a9928b8a024a1a373ac41b07db37ec..97c0ea42b922ced3d73d45bb58aaf1759899e274 100644 |
--- a/ash/test/ash_test_helper.cc |
+++ b/ash/test/ash_test_helper.cc |
@@ -118,6 +118,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(); |
} |