diff options
Diffstat (limited to 'ash/system/date/tray_date.cc')
-rw-r--r-- | ash/system/date/tray_date.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ash/system/date/tray_date.cc b/ash/system/date/tray_date.cc index 34edabb..fb1fffb 100644 --- a/ash/system/date/tray_date.cc +++ b/ash/system/date/tray_date.cc @@ -4,7 +4,6 @@ #include "ash/system/date/tray_date.h" -#include "ash/session_state_delegate.h" #include "ash/shell.h" #include "ash/shell_delegate.h" #include "ash/system/date/date_view.h" @@ -90,7 +89,7 @@ class DateDefaultView : public views::View, view->AddButton(shutdown_); } - if (ash::Shell::GetInstance()->session_state_delegate()->CanLockScreen()) { + if (ash::Shell::GetInstance()->CanLockScreen()) { lock_ = new ash::internal::TrayPopupHeaderButton(this, IDR_AURA_UBER_TRAY_LOCKSCREEN, IDR_AURA_UBER_TRAY_LOCKSCREEN, |