Commit 96621a74 authored by bartfab@chromium.org's avatar bartfab@chromium.org

Correct references to obsolete WebKit pref names in options code

The WebKit prefs were renamed in issue 123812. This CL fixes three
references to WebKit prefs missed in that rename.

BUG=139787


Review URL: https://chromiumcodereview.appspot.com/10826081

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149230 0039d316-1c4b-4281-b951-d872f2087c98
parent 3b6bb1b9
...@@ -364,7 +364,7 @@ cr.define('options', function() { ...@@ -364,7 +364,7 @@ cr.define('options', function() {
$('defaultFontSize').onchange = function(event) { $('defaultFontSize').onchange = function(event) {
var value = event.target.options[event.target.selectedIndex].value; var value = event.target.options[event.target.selectedIndex].value;
Preferences.setIntegerPref( Preferences.setIntegerPref(
'webkit.webprefs.global.default_fixed_font_size', 'webkit.webprefs.default_fixed_font_size',
value - OptionsPage.SIZE_DIFFERENCE_FIXED_STANDARD, ''); value - OptionsPage.SIZE_DIFFERENCE_FIXED_STANDARD, '');
chrome.send('defaultFontSizeAction', [String(value)]); chrome.send('defaultFontSizeAction', [String(value)]);
}; };
......
...@@ -108,7 +108,7 @@ cr.define('options', function() { ...@@ -108,7 +108,7 @@ cr.define('options', function() {
*/ */
standardFontSizeChanged_: function(el, value) { standardFontSizeChanged_: function(el, value) {
Preferences.setIntegerPref( Preferences.setIntegerPref(
'webkit.webprefs.global.default_fixed_font_size', 'webkit.webprefs.default_fixed_font_size',
value - OptionsPage.SIZE_DIFFERENCE_FIXED_STANDARD, ''); value - OptionsPage.SIZE_DIFFERENCE_FIXED_STANDARD, '');
}, },
...@@ -134,7 +134,7 @@ cr.define('options', function() { ...@@ -134,7 +134,7 @@ cr.define('options', function() {
*/ */
minimumFontSizeChanged_: function(el, value) { minimumFontSizeChanged_: function(el, value) {
Preferences.setIntegerPref( Preferences.setIntegerPref(
'webkit.webprefs.global.minimum_logical_font_size', value, ''); 'webkit.webprefs.minimum_logical_font_size', value, '');
}, },
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment