| Index: content/public/browser/gpu_utils.cc
|
| diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc
|
| index af52366b68bdf8e226b7cdd970ec9f9d1b342f8b..0155bb1dae33c409c4b0499a0c79a53e0f780670 100644
|
| --- a/content/public/browser/gpu_utils.cc
|
| +++ b/content/public/browser/gpu_utils.cc
|
| @@ -45,7 +45,9 @@ const gpu::GpuPreferences GetGpuPreferencesFromCommandLine() {
|
| #endif
|
| #if defined(ENABLE_WEBRTC)
|
| gpu_preferences.disable_web_rtc_hw_encoding =
|
| - command_line->HasSwitch(switches::kDisableWebRtcHWEncoding);
|
| + command_line->HasSwitch(switches::kDisableWebRtcHWEncoding) &&
|
| + command_line->GetSwitchValueASCII(switches::kDisableWebRtcHWEncoding)
|
| + .empty();
|
| #endif
|
| #if defined(OS_WIN)
|
| uint32_t enable_accelerated_vpx_decode_val =
|
|
|