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

Unified Diff: content/browser/renderer_host/gpu_message_filter.cc

Issue 12547016: Enable browser plugin compositing by default, but add a flag to disable it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
Index: content/browser/renderer_host/gpu_message_filter.cc
diff --git a/content/browser/renderer_host/gpu_message_filter.cc b/content/browser/renderer_host/gpu_message_filter.cc
index a25d5a46c1b53f6fd0c5e64807f628699e0f1f26..30d3e7aad324e9fa9876bec1d836d787744aa366 100644
--- a/content/browser/renderer_host/gpu_message_filter.cc
+++ b/content/browser/renderer_host/gpu_message_filter.cc
@@ -49,10 +49,8 @@ GpuMessageFilter::GpuMessageFilter(int render_process_id,
share_contexts_ = true;
#else
// Share contexts when compositing webview plugin.
- // Keep this behind a flag for now until we can run a
- // stability experiment.
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableBrowserPluginCompositing))
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableBrowserPluginCompositing))
share_contexts_ = true;
#endif
}
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698