| Index: ash/system/palette/palette_tray.cc
|
| diff --git a/ash/system/palette/palette_tray.cc b/ash/system/palette/palette_tray.cc
|
| index ab54c99bc80cbd5079af5296f0ed191b8a1012a2..c118983073f7e84f6016de9b60d16bfce9ee9faf 100644
|
| --- a/ash/system/palette/palette_tray.cc
|
| +++ b/ash/system/palette/palette_tray.cc
|
| @@ -17,7 +17,6 @@
|
| #include "ash/system/palette/palette_utils.h"
|
| #include "ash/system/tray/system_menu_button.h"
|
| #include "ash/system/tray/system_tray_controller.h"
|
| -#include "ash/system/tray/system_tray_delegate.h"
|
| #include "ash/system/tray/tray_bubble_wrapper.h"
|
| #include "ash/system/tray/tray_constants.h"
|
| #include "ash/system/tray/tray_container.h"
|
| @@ -65,8 +64,7 @@ bool IsInUserSession() {
|
| return !session_controller->IsUserSessionBlocked() &&
|
| session_controller->GetSessionState() ==
|
| session_manager::SessionState::ACTIVE &&
|
| - Shell::Get()->system_tray_delegate()->GetUserLoginStatus() !=
|
| - LoginStatus::KIOSK_APP;
|
| + !session_controller->IsKioskSession();
|
| }
|
|
|
| class TitleView : public views::View, public views::ButtonListener {
|
|
|