| 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 ee5ca2594a7ff2af75a81208b61fbe91e78fba8f..89da2e6a8873e0e0884ff240d37ce356b3607228 100644
|
| --- a/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| +++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| @@ -765,9 +765,8 @@ void GpuDataManagerImplPrivate::AppendGpuCommandLine(
|
| }
|
| #endif
|
|
|
| - if (IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_WEBGL2) &&
|
| - !command_line->HasSwitch(switches::kDisableES3APIs)) {
|
| - command_line->AppendSwitch(switches::kDisableES3APIs);
|
| + if (IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_WEBGL2) && gpu_preferences) {
|
| + gpu_preferences->enable_unsafe_es3_apis = false;
|
| }
|
|
|
| // Pass GPU and driver information to GPU process. We try to avoid full GPU
|
|
|