Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4361)

Unified Diff: chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js

Issue 2708013003: [MD settings] show icon when content settings are controlled by an extension (Closed)
Patch Set: ignore-extensions Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js
diff --git a/chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js b/chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js
index 85614f97ac4030767af0eda69036eac424ff9c37..fe053e4569d11723fa4868f2ba4be5464dd5e47f 100644
--- a/chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js
+++ b/chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js
@@ -124,7 +124,7 @@ var SettingsBooleanControlBehaviorImpl = {
* @private
*/
controlDisabled_: function() {
- return this.disabled || this.isPrefPolicyControlled(assert(this.pref));
+ return this.disabled || this.isPrefEnforced(assert(this.pref));
},
};

Powered by Google App Engine
This is Rietveld 408576698