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 9928444dd1d1e3e09f519b133d4e6ecf0b5ba5a5..e64df2d50ca0220335a552d2d8862eb746112987 100644 |
--- a/content/browser/renderer_host/gpu_message_filter.cc |
+++ b/content/browser/renderer_host/gpu_message_filter.cc |
@@ -69,9 +69,7 @@ GpuMessageFilter::GpuMessageFilter(int render_process_id, |
#else |
// Share contexts when compositing webview plugin or using share groups |
// for asynchronous texture uploads. |
- if (!CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDisableBrowserPluginCompositing) || |
- CommandLine::ForCurrentProcess()->HasSwitch( |
+ if (CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableShareGroupAsyncTextureUpload)) |
share_contexts_ = true; |
#endif |