| Index: chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
| diff --git a/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc b/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
| index bc743e98da9645fc6797a137a6c64454c54dfcbc..11cff6ef9159382c522d0b54766e214ca2789fba 100644
|
| --- a/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
| +++ b/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
| @@ -230,7 +230,7 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
|
|
|
| bool ChromeRuntimeAPIDelegate::RestartDevice(std::string* error_message) {
|
| #if defined(OS_CHROMEOS)
|
| - if (chromeos::UserManager::Get()->IsLoggedInAsKioskApp()) {
|
| + if (chromeos::GetUserManager()->IsLoggedInAsKioskApp()) {
|
| chromeos::DBusThreadManager::Get()
|
| ->GetPowerManagerClient()
|
| ->RequestRestart();
|
|
|