Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5207)

Unified Diff: chrome/browser/resources/options2/font_settings.js

Issue 10826081: Correct references to obsolete WebKit pref names in options code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/options2/browser_options.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/font_settings.js
diff --git a/chrome/browser/resources/options2/font_settings.js b/chrome/browser/resources/options2/font_settings.js
index 2f6078a2f159058a6b1b5210e3a1334e1f8af9d5..df027985d1d35b84da536e706ea6aeea723ff449 100644
--- a/chrome/browser/resources/options2/font_settings.js
+++ b/chrome/browser/resources/options2/font_settings.js
@@ -108,7 +108,7 @@ cr.define('options', function() {
*/
standardFontSizeChanged_: function(el, value) {
Preferences.setIntegerPref(
- 'webkit.webprefs.global.default_fixed_font_size',
+ 'webkit.webprefs.default_fixed_font_size',
value - OptionsPage.SIZE_DIFFERENCE_FIXED_STANDARD, '');
},
@@ -134,7 +134,7 @@ cr.define('options', function() {
*/
minimumFontSizeChanged_: function(el, value) {
Preferences.setIntegerPref(
- 'webkit.webprefs.global.minimum_logical_font_size', value, '');
+ 'webkit.webprefs.minimum_logical_font_size', value, '');
},
/**
« no previous file with comments | « chrome/browser/resources/options2/browser_options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698