| Index: content/public/browser/gpu_utils.cc
|
| diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc
|
| index a28e4aef4d86eee9dee174a878bb51b17c204b68..d537c35eb20cd0d58bdb8ce44884d2a8f706b9b9 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 =
|
|
|