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 0bcc515a637d73958deaad6059917d3349fab282..61a3d8279108e043fee34573e77a6c09b021c63d 100644 |
--- a/ui/aura/test/aura_test_helper.cc |
+++ b/ui/aura/test/aura_test_helper.cc |
@@ -65,7 +65,7 @@ void AuraTestHelper::SetUp() { |
bool allow_test_contexts = true; |
ui::Compositor::InitializeContextFactoryForTests(allow_test_contexts); |
- Env::GetInstance(); |
+ Env::CreateInstance(); |
test_screen_.reset(TestScreen::Create()); |
gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen_.get()); |
root_window_.reset(test_screen_->CreateRootWindowForPrimaryDisplay()); |