| Index: chrome/browser/ui/webui/options/browser_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| index 9f908061ec2a2ecdf1ba4a2d9f0d06c79603a953..72771c7bc3b7766e862afdae9d14a6598af2eb70 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -739,8 +739,8 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
|
| values->SetBoolean("allowBluetooth", allow_bluetooth);
|
|
|
| values->SetBoolean("showQuickUnlockSettings",
|
| - chromeos::IsQuickUnlockEnabled());
|
| - if (chromeos::IsQuickUnlockEnabled()) {
|
| + chromeos::IsPinUnlockEnabled(profile->GetPrefs()));
|
| + if (chromeos::IsPinUnlockEnabled(profile->GetPrefs())) {
|
| values->SetString(
|
| "enableScreenlock",
|
| l10n_util::GetStringUTF16(
|
|
|