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

Unified Diff: chrome/browser/extensions/extension_webkit_preferences.cc

Issue 9624013: Re-enable extension GPU features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove old Canvas2D test Created 8 years, 9 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 | « chrome/browser/extensions/extension_webglbackground_apitest.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_webkit_preferences.cc
diff --git a/chrome/browser/extensions/extension_webkit_preferences.cc b/chrome/browser/extensions/extension_webkit_preferences.cc
index 40fddcd7a7afbfa874c8a0a19f5863da5a0a0f28..18c3985620f52f2fbe2e28084eab3cc49bea9f44 100644
--- a/chrome/browser/extensions/extension_webkit_preferences.cc
+++ b/chrome/browser/extensions/extension_webkit_preferences.cc
@@ -26,14 +26,6 @@ void SetPreferences(const Extension* extension,
// Tabs aren't typically allowed to close windows. But extensions shouldn't
// be subject to that.
webkit_prefs->allow_scripts_to_close_windows = true;
-
- // Disable anything that requires the GPU process for background pages.
- // See http://crbug.com/64512 and http://crbug.com/64841.
- if (render_view_type == chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) {
- webkit_prefs->experimental_webgl_enabled = false;
- webkit_prefs->accelerated_compositing_enabled = false;
- webkit_prefs->accelerated_2d_canvas_enabled = false;
- }
}
if (extension->is_platform_app()) {
« no previous file with comments | « chrome/browser/extensions/extension_webglbackground_apitest.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698