| Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| index 6ebf22d1550e94e5626530b1c58f0b7d6a55faeb..1ba70edb392be3f5ab9605b464811595407a4abe 100644
|
| --- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| +++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| @@ -16,6 +16,7 @@
|
| #include "ash/common/login_status.h"
|
| #include "ash/common/session/session_state_delegate.h"
|
| #include "ash/common/session/session_state_observer.h"
|
| +#include "ash/common/shell_delegate.h"
|
| #include "ash/common/shell_window_ids.h"
|
| #include "ash/common/system/chromeos/bluetooth/bluetooth_observer.h"
|
| #include "ash/common/system/chromeos/power/power_status.h"
|
| @@ -32,7 +33,6 @@
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/desktop_background/desktop_background_controller.h"
|
| #include "ash/shell.h"
|
| -#include "ash/shell_delegate.h"
|
| #include "ash/system/tray/system_tray.h"
|
| #include "ash/wm/lock_state_controller.h"
|
| #include "base/bind_helpers.h"
|
| @@ -547,9 +547,8 @@ void SystemTrayDelegateChromeOS::ShowEnterpriseInfo() {
|
| }
|
|
|
| void SystemTrayDelegateChromeOS::ShowUserLogin() {
|
| - ash::Shell* shell = ash::Shell::GetInstance();
|
| ash::WmShell* wm_shell = ash::WmShell::Get();
|
| - if (!shell->delegate()->IsMultiProfilesEnabled())
|
| + if (!wm_shell->delegate()->IsMultiProfilesEnabled())
|
| return;
|
|
|
| // Only regular non-supervised users could add other users to current session.
|
|
|