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 d1a2afd19390ba70a8b7bbb3397a16ac8f612d21..6cd9d6826c5cbcbdaf57ed2a7e239fef1dcb928f 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()); |