| Index: ui/wm/test/wm_test_helper.cc
|
| diff --git a/ui/wm/test/wm_test_helper.cc b/ui/wm/test/wm_test_helper.cc
|
| index 7e4dc7e7d54ab5fc56f0142f6ed0e63919cd08aa..83166be9aad299bf55f6cd06a027acfae24242e0 100644
|
| --- a/ui/wm/test/wm_test_helper.cc
|
| +++ b/ui/wm/test/wm_test_helper.cc
|
| @@ -15,6 +15,7 @@
|
|
|
| WMTestHelper::WMTestHelper(const gfx::Size& default_window_size,
|
| ui::ContextFactory* context_factory) {
|
| + aura::Env::CreateInstance(true);
|
| aura::Env::GetInstance()->set_context_factory(context_factory);
|
| host_.reset(aura::WindowTreeHost::Create(gfx::Rect(default_window_size)));
|
| host_->InitHost();
|
|
|