summaryrefslogtreecommitdiffstats
path: root/ash/root_window_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/root_window_controller.cc')
-rw-r--r--ash/root_window_controller.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 0e3b452..78cf208 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -281,6 +281,10 @@ void RootWindowController::InitForPrimaryDisplay() {
new ToplevelWindowEventHandler(panel_container));
panel_container->SetLayoutManager(panel_layout_manager_);
+ // TODO(stevenjb/oshima): Remove this call to CreateLauncher() and call
+ // ash::Shell::CreateLauncher() explicitly in ash_shell and ash_unittests
+ // so that the behavior and construction order is consistent betwheen Ash
+ // and Chrome.
if (Shell::GetInstance()->session_state_delegate()->NumberOfLoggedInUsers())
shelf_->CreateLauncher();