Commit 30eb52cc authored by tzik's avatar tzik Committed by Commit Bot

A typo fix for reuse_global_for_unowned_main_frame

Tbr: boliu@chromium.org
Change-Id: I8fb1063286de9e2955ece5a4d605720ef6f0d94c
Reviewed-on: https://chromium-review.googlesource.com/980274
Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
Reviewed-by: default avatarBo <boliu@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546041}
parent 7567ac73
...@@ -417,7 +417,7 @@ void AwSettings::PopulateWebPreferencesLocked(JNIEnv* env, ...@@ -417,7 +417,7 @@ void AwSettings::PopulateWebPreferencesLocked(JNIEnv* env,
web_prefs->ignore_main_frame_overflow_hidden_quirk = support_quirks; web_prefs->ignore_main_frame_overflow_hidden_quirk = support_quirks;
web_prefs->report_screen_size_in_physical_pixels_quirk = support_quirks; web_prefs->report_screen_size_in_physical_pixels_quirk = support_quirks;
web_prefs->resue_global_for_unowned_main_frame = web_prefs->reuse_global_for_unowned_main_frame =
Java_AwSettings_getAllowEmptyDocumentPersistenceLocked(env, obj); Java_AwSettings_getAllowEmptyDocumentPersistenceLocked(env, obj);
web_prefs->password_echo_enabled = web_prefs->password_echo_enabled =
......
...@@ -214,7 +214,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::WebPreferences) ...@@ -214,7 +214,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::WebPreferences)
IPC_STRUCT_TRAITS_MEMBER(clobber_user_agent_initial_scale_quirk) IPC_STRUCT_TRAITS_MEMBER(clobber_user_agent_initial_scale_quirk)
IPC_STRUCT_TRAITS_MEMBER(ignore_main_frame_overflow_hidden_quirk) IPC_STRUCT_TRAITS_MEMBER(ignore_main_frame_overflow_hidden_quirk)
IPC_STRUCT_TRAITS_MEMBER(report_screen_size_in_physical_pixels_quirk) IPC_STRUCT_TRAITS_MEMBER(report_screen_size_in_physical_pixels_quirk)
IPC_STRUCT_TRAITS_MEMBER(resue_global_for_unowned_main_frame) IPC_STRUCT_TRAITS_MEMBER(reuse_global_for_unowned_main_frame)
IPC_STRUCT_TRAITS_MEMBER(spellcheck_enabled_by_default) IPC_STRUCT_TRAITS_MEMBER(spellcheck_enabled_by_default)
IPC_STRUCT_TRAITS_MEMBER(video_fullscreen_orientation_lock_enabled) IPC_STRUCT_TRAITS_MEMBER(video_fullscreen_orientation_lock_enabled)
IPC_STRUCT_TRAITS_MEMBER(video_rotate_to_fullscreen_enabled) IPC_STRUCT_TRAITS_MEMBER(video_rotate_to_fullscreen_enabled)
......
...@@ -195,7 +195,7 @@ WebPreferences::WebPreferences() ...@@ -195,7 +195,7 @@ WebPreferences::WebPreferences()
clobber_user_agent_initial_scale_quirk(false), clobber_user_agent_initial_scale_quirk(false),
ignore_main_frame_overflow_hidden_quirk(false), ignore_main_frame_overflow_hidden_quirk(false),
report_screen_size_in_physical_pixels_quirk(false), report_screen_size_in_physical_pixels_quirk(false),
resue_global_for_unowned_main_frame(false), reuse_global_for_unowned_main_frame(false),
spellcheck_enabled_by_default(true), spellcheck_enabled_by_default(true),
video_fullscreen_orientation_lock_enabled(false), video_fullscreen_orientation_lock_enabled(false),
video_rotate_to_fullscreen_enabled(false), video_rotate_to_fullscreen_enabled(false),
......
...@@ -236,7 +236,7 @@ struct CONTENT_EXPORT WebPreferences { ...@@ -236,7 +236,7 @@ struct CONTENT_EXPORT WebPreferences {
bool report_screen_size_in_physical_pixels_quirk; bool report_screen_size_in_physical_pixels_quirk;
// Used by Android_WebView only to support legacy apps that inject script into // Used by Android_WebView only to support legacy apps that inject script into
// a top-level initial empty document and expect it to persist on navigation. // a top-level initial empty document and expect it to persist on navigation.
bool resue_global_for_unowned_main_frame; bool reuse_global_for_unowned_main_frame;
// Specifies default setting for spellcheck when the spellcheck attribute is // Specifies default setting for spellcheck when the spellcheck attribute is
// not explicitly specified. // not explicitly specified.
bool spellcheck_enabled_by_default; bool spellcheck_enabled_by_default;
......
...@@ -895,7 +895,7 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs, ...@@ -895,7 +895,7 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->SetReportScreenSizeInPhysicalPixelsQuirk( settings->SetReportScreenSizeInPhysicalPixelsQuirk(
prefs.report_screen_size_in_physical_pixels_quirk); prefs.report_screen_size_in_physical_pixels_quirk);
settings->SetShouldReuseGlobalForUnownedMainFrame( settings->SetShouldReuseGlobalForUnownedMainFrame(
prefs.resue_global_for_unowned_main_frame); prefs.reuse_global_for_unowned_main_frame);
settings->SetPreferHiddenVolumeControls(true); settings->SetPreferHiddenVolumeControls(true);
settings->SetSpellCheckEnabledByDefault(prefs.spellcheck_enabled_by_default); settings->SetSpellCheckEnabledByDefault(prefs.spellcheck_enabled_by_default);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment