| Index: ash/shelf/wm_shelf.cc
|
| diff --git a/ash/shelf/wm_shelf.cc b/ash/shelf/wm_shelf.cc
|
| index 79ee471ba3168d8540ea01b24c06fc38fbb9ab8f..bd0cbd65dbe757d9708de4f9cedfa0a94660ec75 100644
|
| --- a/ash/shelf/wm_shelf.cc
|
| +++ b/ash/shelf/wm_shelf.cc
|
| @@ -8,6 +8,7 @@
|
| #include "ash/public/cpp/shelf_item_delegate.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| #include "ash/root_window_controller.h"
|
| +#include "ash/session/session_controller.h"
|
| #include "ash/shelf/shelf_bezel_event_handler.h"
|
| #include "ash/shelf/shelf_controller.h"
|
| #include "ash/shelf/shelf_layout_manager.h"
|
| @@ -75,7 +76,7 @@ WmShelf* WmShelf::ForWindow(WmWindow* window) {
|
|
|
| // static
|
| bool WmShelf::CanChangeShelfAlignment() {
|
| - if (Shell::Get()->system_tray_delegate()->IsUserSupervised())
|
| + if (Shell::Get()->session_controller()->IsUserSupervised())
|
| return false;
|
|
|
| LoginStatus login_status =
|
|
|