Index: ash/root_window_controller.cc |
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc |
index d4878b647d1b9b3ae510e46c37c4e000c09a87e0..4d2dd8da22d3650dbff86f93c6425e60f5f10f3d 100644 |
--- a/ash/root_window_controller.cc |
+++ b/ash/root_window_controller.cc |
@@ -703,13 +703,14 @@ void RootWindowController::Init(RootWindowType root_window_type, |
shell->InitKeyboard(); |
} else { |
root_window_layout()->OnWindowResized(); |
- shell->desktop_background_controller()->OnRootWindowAdded(root_window()); |
- shell->high_contrast_controller()->OnRootWindowAdded(root_window()); |
host_->Show(); |
// Create a shelf if a user is already logged in. |
if (shell->session_state_delegate()->NumberOfLoggedInUsers()) |
shelf()->CreateShelf(); |
+ |
+ // Notify shell observers about new root window. |
+ shell->OnRootWindowAdded(root_window()); |
} |
} |