| Index: chrome/browser/resources/settings/controls/settings_checkbox.js
|
| diff --git a/chrome/browser/resources/settings/controls/settings_checkbox.js b/chrome/browser/resources/settings/controls/settings_checkbox.js
|
| index 5a6134bb164f04db96d455357f53d0ede44a41a2..e892fb96f4558da4cc6a74c347366da705ffc505 100644
|
| --- a/chrome/browser/resources/settings/controls/settings_checkbox.js
|
| +++ b/chrome/browser/resources/settings/controls/settings_checkbox.js
|
| @@ -16,12 +16,12 @@
|
| Polymer({
|
| is: 'settings-checkbox',
|
|
|
| - behaviors: [PolicyControllable],
|
| + behaviors: [CrPolicyPrefBehavior],
|
|
|
| properties: {
|
| /**
|
| * The boolean preference object to control.
|
| - * @type {?chrome.settingsPrivate.PrefObject}
|
| + * @type {!chrome.settingsPrivate.PrefObject|undefined}
|
| */
|
| pref: {
|
| type: Object,
|
| @@ -101,11 +101,11 @@ Polymer({
|
|
|
| /**
|
| * @param {boolean} disabled
|
| - * @param {?chrome.settingsPrivate.PrefObject} pref
|
| + * @param {!chrome.settingsPrivate.PrefObject} pref
|
| * @return {boolean} Whether the checkbox should be disabled.
|
| * @private
|
| */
|
| checkboxDisabled_: function(disabled, pref) {
|
| - return disabled || this.isPolicyControlled(pref);
|
| + return disabled || this.isPrefPolicyControlled(pref);
|
| },
|
| });
|
|
|