Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3089)

Unified Diff: android_webview/native/aw_settings.cc

Issue 24676002: Do not clear document background in Android WebView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase r239785 Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_settings.cc
diff --git a/android_webview/native/aw_settings.cc b/android_webview/native/aw_settings.cc
index 5ee89b745d16f111bebaad2ac901bb265116eda0..0a1312d6ec34ecccc65a359548e3240994a0f3c2 100644
--- a/android_webview/native/aw_settings.cc
+++ b/android_webview/native/aw_settings.cc
@@ -177,6 +177,7 @@ void AwSettings::WebContentsDestroyed(content::WebContents* web_contents) {
// static
void AwSettings::PopulateFixedPreferences(WebPreferences* web_prefs) {
web_prefs->shrinks_standalone_images_to_fit = false;
+ web_prefs->should_clear_document_background = false;
}
void AwSettings::PopulateWebPreferences(WebPreferences* web_prefs) {
« no previous file with comments | « no previous file | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698