| Index: chrome/browser/ui/webui/flags_ui.cc
|
| diff --git a/chrome/browser/ui/webui/flags_ui.cc b/chrome/browser/ui/webui/flags_ui.cc
|
| index c54147caa4817338f376da9617d358a0bedf9dae..d586c827abe485ac264f2505679bcb81af41227e 100644
|
| --- a/chrome/browser/ui/webui/flags_ui.cc
|
| +++ b/chrome/browser/ui/webui/flags_ui.cc
|
| @@ -292,15 +292,15 @@
|
|
|
| #if defined(OS_CHROMEOS)
|
| if (base::SysInfo::IsRunningOnChromeOS() &&
|
| - chromeos::OwnerSettingsServiceChromeOSFactory::GetForProfile(profile)) {
|
| + chromeos::OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(
|
| + profile)) {
|
| chromeos::OwnerSettingsServiceChromeOS* service =
|
| - chromeos::OwnerSettingsServiceChromeOSFactory::GetForProfile(profile);
|
| + chromeos::OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(
|
| + profile);
|
| service->IsOwnerAsync(base::Bind(
|
| &FinishInitialization, weak_factory_.GetWeakPtr(), profile, handler));
|
| } else {
|
| - FinishInitialization(weak_factory_.GetWeakPtr(),
|
| - profile,
|
| - handler,
|
| + FinishInitialization(weak_factory_.GetWeakPtr(), profile, handler,
|
| false /* current_user_is_owner */);
|
| }
|
| #else
|
|
|