Index: content/browser/gpu/gpu_data_manager_impl_private.cc |
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc |
index 96beb775df9b3160d7e407bce87e51bc90d2cc36..14fe683eb76b9f2e60966f5dcb96ca340cb3977d 100644 |
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc |
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc |
@@ -699,9 +699,14 @@ void GpuDataManagerImplPrivate::AppendGpuCommandLine( |
switches::kUseGL); |
if (gpu_driver_bugs_.find(gpu::DISABLE_D3D11) != gpu_driver_bugs_.end()) |
command_line->AppendSwitch(switches::kDisableD3D11); |
+ if (gpu_driver_bugs_.find(gpu::DISABLE_ES3_GL_CONTEXT) != |
+ gpu_driver_bugs_.end()) { |
+ command_line->AppendSwitch(switches::kDisableES3GLContext); |
+ } |
if (gpu_driver_bugs_.find(gpu::DISABLE_DIRECT_COMPOSITION) != |
- gpu_driver_bugs_.end()) |
+ gpu_driver_bugs_.end()) { |
command_line->AppendSwitch(switches::kDisableDirectComposition); |
+ } |
if (use_swiftshader_) { |
command_line->AppendSwitchASCII(switches::kUseGL, "swiftshader"); |
} else if ((IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_WEBGL) || |