| Index: chrome/browser/ui/ash/session_util.cc
|
| diff --git a/chrome/browser/ui/ash/session_util.cc b/chrome/browser/ui/ash/session_util.cc
|
| index f05287e3dbe782b1f3ad0b8a7d01ad867c4ce050..4a11232167a45d368b13b63df1c15125f4fb1b94 100644
|
| --- a/chrome/browser/ui/ash/session_util.cc
|
| +++ b/chrome/browser/ui/ash/session_util.cc
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "chrome/browser/ui/ash/session_util.h"
|
|
|
| -#include "ash/common/session/session_state_delegate.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/content/shell_content_state.h"
|
| #include "ash/resources/grit/ash_resources.h"
|
| @@ -27,9 +26,7 @@ bool CanShowWindowForUser(
|
| aura::Window* window,
|
| const GetActiveBrowserContextCallback& get_context_callback) {
|
| DCHECK(window);
|
| - ash::SessionStateDelegate* delegate =
|
| - ash::WmShell::Get()->GetSessionStateDelegate();
|
| - if (delegate->NumberOfLoggedInUsers() > 1) {
|
| + if (user_manager::UserManager::Get()->GetLoggedInUsers().size() > 1u) {
|
| content::BrowserContext* active_browser_context =
|
| get_context_callback.Run();
|
| ash::ShellContentState* state = ash::ShellContentState::GetInstance();
|
|
|