diff options
-rw-r--r-- | apps/shell/browser/shell_desktop_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/shell/browser/shell_desktop_controller.cc b/apps/shell/browser/shell_desktop_controller.cc index 296ca86..a9dccff 100644 --- a/apps/shell/browser/shell_desktop_controller.cc +++ b/apps/shell/browser/shell_desktop_controller.cc @@ -234,7 +234,7 @@ void ShellDesktopController::CreateRootWindow() { gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen_.get()); // TODO(mukai): Set up input method. - host_.reset(aura::WindowTreeHost::Create(gfx::Rect(size))); + host_.reset(test_screen_->CreateHostForPrimaryDisplay()); host_->InitHost(); aura::client::SetWindowTreeClient(host_->window(), this); root_window_event_filter_.reset(new wm::CompoundEventFilter); |