Index: android_webview/native/aw_settings.cc |
diff --git a/android_webview/native/aw_settings.cc b/android_webview/native/aw_settings.cc |
index d46394b609e73121dcd3d9a534832b1e12e0ebba..c4cb8242e661802558cb61c3f82e7f00b12fbf31 100644 |
--- a/android_webview/native/aw_settings.cc |
+++ b/android_webview/native/aw_settings.cc |
@@ -198,7 +198,7 @@ void AwSettings::PopulateWebPreferences(WebPreferences* web_prefs) { |
int text_size_percent = Java_AwSettings_getTextSizePercentLocked(env, obj); |
if (web_prefs->text_autosizing_enabled) { |
- web_prefs->text_autosizing_font_scale_factor = text_size_percent / 100.0f; |
+ web_prefs->font_scale_factor = text_size_percent / 100.0f; |
web_prefs->force_enable_zoom = text_size_percent >= 130; |
// Use the default zoom factor value when Text Autosizer is turned on. |
render_view_host_ext->SetTextZoomFactor(1); |