Index: chrome/browser/resources/options/pref_ui.js |
diff --git a/chrome/browser/resources/options/pref_ui.js b/chrome/browser/resources/options/pref_ui.js |
index 0775306d77676ec13863ebacff2de0c77c52fc71..d72411e390bc440c612af9d6eda93091693311f2 100644 |
--- a/chrome/browser/resources/options/pref_ui.js |
+++ b/chrome/browser/resources/options/pref_ui.js |
@@ -160,6 +160,10 @@ cr.define('options', function() { |
decorate: function() { |
PrefInputElement.prototype.decorate.call(this); |
this.type = 'checkbox'; |
+ |
+ // Prime the checkbox pref, as it may be default-checked. |
Dan Beam
2014/03/27 21:06:43
i have no idea what this means.
rpetterson
2014/03/27 21:26:00
The preference may be default true.
Dan Beam
2014/03/28 00:00:41
just remove the comment, imo
rpetterson
2014/03/28 00:05:35
Done.
|
+ if (this.dialogPref) |
+ this.updatePrefFromState_(); |
}, |
/** |