| Index: chrome/browser/resources/settings/checkbox/checkbox.js
|
| diff --git a/chrome/browser/resources/settings/checkbox/checkbox.js b/chrome/browser/resources/settings/checkbox/checkbox.js
|
| index 49ebb3ab3fa8d1c5b982b250810bc82f0f9990a4..2b5146affb74f80f9b6af6517ad9c5182ef8c009 100644
|
| --- a/chrome/browser/resources/settings/checkbox/checkbox.js
|
| +++ b/chrome/browser/resources/settings/checkbox/checkbox.js
|
| @@ -16,6 +16,8 @@
|
| Polymer({
|
| is: 'cr-settings-checkbox',
|
|
|
| + behaviors: [PolicyControllable],
|
| +
|
| properties: {
|
| /**
|
| * The boolean preference object to control.
|
| @@ -100,8 +102,6 @@ Polymer({
|
| * @private
|
| */
|
| checkboxDisabled_: function(disabled, pref) {
|
| - return disabled || (!!pref &&
|
| - pref.policyEnforcement ==
|
| - chrome.settingsPrivate.PolicyEnforcement.ENFORCED);
|
| + return disabled || this.isPolicyControlled(pref);
|
| },
|
| });
|
|
|