| Index: ash/system/overview/overview_button_tray.cc
|
| diff --git a/ash/system/overview/overview_button_tray.cc b/ash/system/overview/overview_button_tray.cc
|
| index 331f445cce85281223718ca4b30916897b308988..ff5771027ba9b53f02d238ae51b78c4e693a439b 100644
|
| --- a/ash/system/overview/overview_button_tray.cc
|
| +++ b/ash/system/overview/overview_button_tray.cc
|
| @@ -10,7 +10,6 @@
|
| #include "ash/shell.h"
|
| #include "ash/shell_port.h"
|
| #include "ash/strings/grit/ash_strings.h"
|
| -#include "ash/system/tray/system_tray_delegate.h"
|
| #include "ash/system/tray/tray_constants.h"
|
| #include "ash/system/tray/tray_container.h"
|
| #include "ash/wm/maximize_mode/maximize_mode_controller.h"
|
| @@ -107,10 +106,7 @@ void OverviewButtonTray::UpdateIconVisibility() {
|
| !session_controller->IsScreenLocked() &&
|
| session_controller->GetSessionState() ==
|
| session_manager::SessionState::ACTIVE &&
|
| - shell->system_tray_delegate()->GetUserLoginStatus() !=
|
| - LoginStatus::KIOSK_APP &&
|
| - shell->system_tray_delegate()->GetUserLoginStatus() !=
|
| - LoginStatus::ARC_KIOSK_APP);
|
| + !session_controller->IsKioskSession());
|
| }
|
|
|
| } // namespace ash
|
|
|