| 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 9a9af613db08e048fd5d7a86427b05b82296e28a..c74ddfe7f1805e1665b953dbf2b61102309d8fb9 100644
|
| --- a/ui/wm/test/wm_test_helper.cc
|
| +++ b/ui/wm/test/wm_test_helper.cc
|
| @@ -14,8 +14,10 @@
|
|
|
| namespace wm {
|
|
|
| -WMTestHelper::WMTestHelper(const gfx::Size& default_window_size) {
|
| +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();
|
| aura::client::SetWindowTreeClient(host_->window(), this);
|
|
|