Index: chrome/browser/resources/options/pref_ui.js |
=================================================================== |
--- chrome/browser/resources/options/pref_ui.js (revision 75929) |
+++ chrome/browser/resources/options/pref_ui.js (working copy) |
@@ -292,7 +292,8 @@ |
if (this.continuous) |
this.setRangePref_(); |
- this.notifyChange(this, this.mapValueToRange_(this.value)); |
+ if (this.notifyChange) |
+ this.notifyChange(this, this.mapValueToRange_(this.value)); |
}, |
/** |
@@ -302,6 +303,9 @@ |
setRangePref_: function() { |
Preferences.setIntegerPref( |
this.pref, this.mapValueToRange_(this.value), this.metric); |
+ |
+ if (this.notifyPrefChange) |
+ this.notifyPrefChange(this, this.mapValueToRange_(this.value)); |
}, |
/** |