Chromium Code Reviews| Index: chrome/browser/resources/settings/controls/controlled_radio_button.js |
| diff --git a/chrome/browser/resources/settings/controls/controlled_radio_button.js b/chrome/browser/resources/settings/controls/controlled_radio_button.js |
| index cf697206d0d34ec9b661ceb0f252fcac6ccd2ee7..516efb0db75cac11d387de3ed87c46ae0b068b2d 100644 |
| --- a/chrome/browser/resources/settings/controls/controlled_radio_button.js |
| +++ b/chrome/browser/resources/settings/controls/controlled_radio_button.js |
| @@ -30,7 +30,7 @@ Polymer({ |
| * @private |
| */ |
| computeControlled_: function() { |
| - return this.isPrefPolicyControlled(assert(this.pref)); |
| + return this.pref.enforcement == chrome.settingsPrivate.Enforcement.ENFORCED; |
|
dpapad
2016/11/18 23:46:28
This is subtle. What is the difference between |pr
Dan Beam
2016/11/18 23:51:04
the code you're looking at is outdated, there's on
dpapad
2016/11/19 00:20:15
Ok. I am slightly confused, so I am going to ask q
Dan Beam
2016/11/19 00:50:05
yes
|
| }, |
| /** |