| Index: content/public/browser/gpu_utils.cc
|
| diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc
|
| index 8605b2d52b10d3dfb73b068ef24467ad417b62c0..19c6ab65d6297bbf6eeca200f23bed8e0e7037a0 100644
|
| --- a/content/public/browser/gpu_utils.cc
|
| +++ b/content/public/browser/gpu_utils.cc
|
| @@ -47,8 +47,9 @@ const gpu::GpuPreferences GetGpuPreferencesFromCommandLine() {
|
| #endif
|
| #if BUILDFLAG(ENABLE_WEBRTC)
|
| gpu_preferences.disable_web_rtc_hw_encoding =
|
| - command_line->HasSwitch(switches::kDisableWebRtcHWVP8Encoding) &&
|
| - !base::FeatureList::IsEnabled(features::kWebRtcHWH264Encoding);
|
| + command_line->HasSwitch(switches::kDisableWebRtcHWEncoding) ||
|
| + (command_line->HasSwitch(switches::kDisableWebRtcHWVP8Encoding) &&
|
| + !base::FeatureList::IsEnabled(features::kWebRtcHWH264Encoding));
|
| #endif
|
| #if defined(OS_WIN)
|
| uint32_t enable_accelerated_vpx_decode_val =
|
|
|