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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 233093006: Stop disabling force_compositing_mode for background RenderViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: background: codemoved Created 6 years, 8 months 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 | chrome/browser/extensions/extension_webkit_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index d0ed882ecb652a9a62a4789c3e880ff8bdc3f9d3..f38ce462b5384acffa305abfed8ddc1eb64c8b2f 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2354,11 +2354,6 @@ void ChromeContentBrowserClient::OverrideWebkitPrefs(
if (view_type == extensions::VIEW_TYPE_NOTIFICATION) {
web_prefs->allow_scripts_to_close_windows = true;
- } else if (view_type == extensions::VIEW_TYPE_BACKGROUND_CONTENTS) {
- // Disable all kinds of acceleration for background pages.
- // See http://crbug.com/96005 and http://crbug.com/96006
- web_prefs->force_compositing_mode = false;
- web_prefs->accelerated_compositing_enabled = false;
}
#if defined(OS_CHROMEOS)
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_webkit_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698