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