From 86cfd3347778a31174b1a6dd5032db808e8e8289 Mon Sep 17 00:00:00 2001 From: oshima Date: Tue, 5 May 2015 09:29:49 -0700 Subject: Don't call InitHost twice It's already called in CreateHostForPrimaryDisplay. BUG=None Review URL: https://codereview.chromium.org/1122083003 Cr-Commit-Position: refs/heads/master@{#328340} --- extensions/shell/browser/shell_desktop_controller_aura.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'extensions') diff --git a/extensions/shell/browser/shell_desktop_controller_aura.cc b/extensions/shell/browser/shell_desktop_controller_aura.cc index ffa1383..5ab8a3c 100644 --- a/extensions/shell/browser/shell_desktop_controller_aura.cc +++ b/extensions/shell/browser/shell_desktop_controller_aura.cc @@ -306,7 +306,6 @@ void ShellDesktopControllerAura::CreateRootWindow() { // TODO(mukai): Set up input method. host_.reset(screen_->CreateHostForPrimaryDisplay()); - host_->InitHost(); aura::client::SetWindowTreeClient(host_->window(), this); root_window_event_filter_.reset(new wm::CompoundEventFilter); host_->window()->AddPreTargetHandler(root_window_event_filter_.get()); -- cgit v1.1