Index: trunk/src/ash/root_window_controller.cc |
=================================================================== |
--- trunk/src/ash/root_window_controller.cc (revision 194588) |
+++ trunk/src/ash/root_window_controller.cc (working copy) |
@@ -12,7 +12,6 @@ |
#include "ash/display/display_controller.h" |
#include "ash/display/display_manager.h" |
#include "ash/focus_cycler.h" |
-#include "ash/session_state_delegate.h" |
#include "ash/shelf/shelf_layout_manager.h" |
#include "ash/shelf/shelf_types.h" |
#include "ash/shelf/shelf_widget.h" |
@@ -291,7 +290,7 @@ |
new ToplevelWindowEventHandler(panel_container)); |
panel_container->SetLayoutManager(panel_layout_manager_); |
} |
- if (Shell::GetInstance()->session_state_delegate()->HasActiveUser()) |
+ if (Shell::GetInstance()->delegate()->IsUserLoggedIn()) |
shelf_->CreateLauncher(); |
InitKeyboard(); |