| Index: chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
|
| index f5d1514f9cbf9038d11eafa8411f0577427714aa..8cb41508809a42768d9e5992cc37c34b5256d962 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
|
| @@ -9,7 +9,7 @@
|
| #include <utility>
|
|
|
| #include "ash/common/session/session_state_delegate.h"
|
| -#include "ash/shell.h"
|
| +#include "ash/common/wm_shell.h"
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| #include "base/macros.h"
|
| @@ -296,7 +296,7 @@ base::Value* CoreChromeOSOptionsHandler::CreateValueForPref(
|
| user_prefs->FindPreference(prefs::kEnableAutoScreenLock);
|
|
|
| ash::SessionStateDelegate* delegate =
|
| - ash::Shell::GetInstance()->session_state_delegate();
|
| + ash::WmShell::Get()->GetSessionStateDelegate();
|
| if (pref && pref->IsUserModifiable() &&
|
| delegate->ShouldLockScreenBeforeSuspending()) {
|
| bool screen_lock = false;
|
|
|