summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/preferences.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/options/preferences.js')
-rw-r--r--chrome/browser/resources/options/preferences.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/options/preferences.js b/chrome/browser/resources/options/preferences.js
index 1b242337..ccd3bd7 100644
--- a/chrome/browser/resources/options/preferences.js
+++ b/chrome/browser/resources/options/preferences.js
@@ -69,10 +69,10 @@ cr.define('options', function() {
* @param {number} value New preference value.
* @param {string} metric User metrics identifier.
*/
- Preferences.setRealPref = function(name, value, metric) {
+ Preferences.setDoublePref = function(name, value, metric) {
var argumentList = [name, String(value)];
if (metric != undefined) argumentList.push(metric);
- chrome.send('setRealPref', argumentList);
+ chrome.send('setDoublePref', argumentList);
};
/**