Index: content/renderer/web_preferences.cc |
diff --git a/content/renderer/web_preferences.cc b/content/renderer/web_preferences.cc |
index 71c0ca0d742d0f41f6dc70f127650f94900afe74..309eaa428f1ba22f2d3f0a0dad50d4cd19942069 100644 |
--- a/content/renderer/web_preferences.cc |
+++ b/content/renderer/web_preferences.cc |
@@ -330,8 +330,8 @@ void ApplyWebPreferences(const WebPreferences& prefs, WebView* web_view) { |
#if defined(OS_ANDROID) |
settings->setAllowCustomScrollbarInMainFrame(false); |
settings->setTextAutosizingEnabled(prefs.text_autosizing_enabled); |
- settings->setTextAutosizingFontScaleFactor( |
- prefs.text_autosizing_font_scale_factor); |
+ settings->setTextAutosizingFontScaleFactor(prefs.font_scale_factor); |
+ settings->setDeviceScaleAdjustment(prefs.device_scale_adjustment); |
web_view->setIgnoreViewportTagScaleLimits(prefs.force_enable_zoom); |
settings->setAutoZoomFocusedNodeToLegibleScale(true); |
settings->setDoubleTapToZoomEnabled(prefs.double_tap_to_zoom_enabled); |