| Index: ash/common/system/overview/overview_button_tray.cc
|
| diff --git a/ash/common/system/overview/overview_button_tray.cc b/ash/common/system/overview/overview_button_tray.cc
|
| index 672798967666d5cc1d5ad27d7c20619bf4809387..c6fcc3abcbf0efb125ad45e5501d48c0d2451b94 100644
|
| --- a/ash/common/system/overview/overview_button_tray.cc
|
| +++ b/ash/common/system/overview/overview_button_tray.cc
|
| @@ -77,8 +77,7 @@ bool OverviewButtonTray::PerformAction(const ui::Event& event) {
|
| return true;
|
| }
|
|
|
| -void OverviewButtonTray::SessionStateChanged(
|
| - SessionStateDelegate::SessionState state) {
|
| +void OverviewButtonTray::SessionStateChanged(SessionState state) {
|
| UpdateIconVisibility();
|
| }
|
|
|
| @@ -144,8 +143,7 @@ void OverviewButtonTray::UpdateIconVisibility() {
|
| shell->maximize_mode_controller()->IsMaximizeModeWindowManagerEnabled() &&
|
| session_state_delegate->IsActiveUserSessionStarted() &&
|
| !session_state_delegate->IsScreenLocked() &&
|
| - session_state_delegate->GetSessionState() ==
|
| - SessionStateDelegate::SESSION_STATE_ACTIVE &&
|
| + session_state_delegate->GetSessionState() == SessionState::ACTIVE &&
|
| shell->system_tray_delegate()->GetUserLoginStatus() !=
|
| LoginStatus::KIOSK_APP);
|
| }
|
|
|