| Index: ash/shelf/wm_shelf.cc
|
| diff --git a/ash/shelf/wm_shelf.cc b/ash/shelf/wm_shelf.cc
|
| index bd0cbd65dbe757d9708de4f9cedfa0a94660ec75..6abaf16ab8075c8dd9c56c24ab28d08efcad4597 100644
|
| --- a/ash/shelf/wm_shelf.cc
|
| +++ b/ash/shelf/wm_shelf.cc
|
| @@ -17,7 +17,6 @@
|
| #include "ash/shelf/shelf_widget.h"
|
| #include "ash/shelf/wm_shelf_observer.h"
|
| #include "ash/shell.h"
|
| -#include "ash/system/tray/system_tray_delegate.h"
|
| #include "ash/wm_window.h"
|
| #include "base/logging.h"
|
| #include "base/memory/ptr_util.h"
|
| @@ -79,8 +78,8 @@ bool WmShelf::CanChangeShelfAlignment() {
|
| if (Shell::Get()->session_controller()->IsUserSupervised())
|
| return false;
|
|
|
| - LoginStatus login_status =
|
| - Shell::Get()->system_tray_delegate()->GetUserLoginStatus();
|
| + const LoginStatus login_status =
|
| + Shell::Get()->session_controller()->login_status();
|
|
|
| switch (login_status) {
|
| case LoginStatus::LOCKED:
|
|
|