| Index: android_webview/native/aw_settings.cc
|
| diff --git a/android_webview/native/aw_settings.cc b/android_webview/native/aw_settings.cc
|
| index 13c7f0879fca577eecf784776f3dc0db70999fc2..5c0af65fa17611d50939ee050d12f655033a3d41 100644
|
| --- a/android_webview/native/aw_settings.cc
|
| +++ b/android_webview/native/aw_settings.cc
|
| @@ -16,9 +16,9 @@
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/content_switches.h"
|
| +#include "content/public/common/webpreferences.h"
|
| #include "jni/AwSettings_jni.h"
|
| #include "webkit/common/user_agent/user_agent.h"
|
| -#include "webkit/common/webpreferences.h"
|
|
|
| using base::android::ConvertJavaStringToUTF16;
|
| using base::android::ConvertUTF8ToJavaString;
|
| @@ -212,27 +212,27 @@ void AwSettings::PopulateWebPreferences(WebPreferences* web_prefs) {
|
| render_view_host_ext->SetTextZoomFactor(text_size_percent / 100.0f);
|
| }
|
|
|
| - web_prefs->standard_font_family_map[webkit_glue::kCommonScript] =
|
| + web_prefs->standard_font_family_map[content::kCommonScript] =
|
| ConvertJavaStringToUTF16(
|
| Java_AwSettings_getStandardFontFamilyLocked(env, obj));
|
|
|
| - web_prefs->fixed_font_family_map[webkit_glue::kCommonScript] =
|
| + web_prefs->fixed_font_family_map[content::kCommonScript] =
|
| ConvertJavaStringToUTF16(
|
| Java_AwSettings_getFixedFontFamilyLocked(env, obj));
|
|
|
| - web_prefs->sans_serif_font_family_map[webkit_glue::kCommonScript] =
|
| + web_prefs->sans_serif_font_family_map[content::kCommonScript] =
|
| ConvertJavaStringToUTF16(
|
| Java_AwSettings_getSansSerifFontFamilyLocked(env, obj));
|
|
|
| - web_prefs->serif_font_family_map[webkit_glue::kCommonScript] =
|
| + web_prefs->serif_font_family_map[content::kCommonScript] =
|
| ConvertJavaStringToUTF16(
|
| Java_AwSettings_getSerifFontFamilyLocked(env, obj));
|
|
|
| - web_prefs->cursive_font_family_map[webkit_glue::kCommonScript] =
|
| + web_prefs->cursive_font_family_map[content::kCommonScript] =
|
| ConvertJavaStringToUTF16(
|
| Java_AwSettings_getCursiveFontFamilyLocked(env, obj));
|
|
|
| - web_prefs->fantasy_font_family_map[webkit_glue::kCommonScript] =
|
| + web_prefs->fantasy_font_family_map[content::kCommonScript] =
|
| ConvertJavaStringToUTF16(
|
| Java_AwSettings_getFantasyFontFamilyLocked(env, obj));
|
|
|
|
|