| Index: ash/common/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/common/shelf/shelf_layout_manager.cc b/ash/common/shelf/shelf_layout_manager.cc
|
| index 6bec096c7187b0ce9a20f8d4c732ddefc54ee98a..fa4990343d175e78d44f0e6d85449e2f9cc33d4e 100644
|
| --- a/ash/common/shelf/shelf_layout_manager.cc
|
| +++ b/ash/common/shelf/shelf_layout_manager.cc
|
| @@ -968,11 +968,10 @@ void ShelfLayoutManager::OnLockStateEvent(LockStateObserver::EventType event) {
|
| }
|
| }
|
|
|
| -void ShelfLayoutManager::SessionStateChanged(
|
| - SessionStateDelegate::SessionState state) {
|
| +void ShelfLayoutManager::SessionStateChanged(SessionState state) {
|
| // Check transition changes to/from the add user to session and change the
|
| // shelf alignment accordingly
|
| - bool add_user = state == SessionStateDelegate::SESSION_STATE_LOGIN_SECONDARY;
|
| + const bool add_user = state == SessionState::LOGIN_SECONDARY;
|
| if (add_user != state_.is_adding_user_screen) {
|
| state_.is_adding_user_screen = add_user;
|
| UpdateShelfVisibilityAfterLoginUIChange();
|
|
|