| Index: chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js
|
| diff --git a/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js b/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js
|
| index 17d826a81fed428b956b7e2cb4960f367716a12a..7d1509dce477c5d79e3c788cdec6a4ca8b5e3b7e 100644
|
| --- a/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js
|
| +++ b/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js
|
| @@ -156,15 +156,13 @@
|
| },
|
|
|
| /**
|
| - * Creates an html style value.
|
| - * @param {number} fontSize The font size to use.
|
| - * @param {string} fontFamily The name of the font family use.
|
| - * @return {string}
|
| + * Get the minimum font size, accounting for unset prefs.
|
| + * @return {?}
|
| * @private
|
| */
|
| - computeStyle_: function(fontSize, fontFamily) {
|
| - return 'font-size: ' + fontSize + "px; font-family: '" + fontFamily +
|
| - "';";
|
| + computeMinimumFontSize_: function() {
|
| + return this.get('prefs.webkit.webprefs.minimum_font_size.value') ||
|
| + MINIMUM_FONT_SIZE_RANGE_[0];
|
| },
|
| });
|
| })();
|
|
|