| Index: content/public/browser/gpu_utils.cc
|
| diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc
|
| index 7c264710c9c070651eae3161b854687c511b5f89..faf21da3617d41c7115ef68399a0674b764a2144 100644
|
| --- a/content/public/browser/gpu_utils.cc
|
| +++ b/content/public/browser/gpu_utils.cc
|
| @@ -48,8 +48,13 @@ const gpu::GpuPreferences GetGpuPreferencesFromCommandLine() {
|
| command_line->HasSwitch(switches::kDisableWebRtcHWEncoding);
|
| #endif
|
| #if defined(OS_WIN)
|
| + uint32_t enable_accelerated_vpx_decode_val =
|
| + gpu::GpuPreferences::kVpxVendorNone;
|
| + GetUintFromSwitch(command_line, switches::kEnableAcceleratedVpxDecode,
|
| + &enable_accelerated_vpx_decode_val);
|
| gpu_preferences.enable_accelerated_vpx_decode =
|
| - command_line->HasSwitch(switches::kEnableAcceleratedVpxDecode);
|
| + static_cast<gpu::GpuPreferences::VpxDecodeVendors>
|
| + (enable_accelerated_vpx_decode_val);
|
| gpu_preferences.enable_zero_copy_dxgi_video =
|
| command_line->HasSwitch(switches::kEnableZeroCopyDxgiVideo);
|
| #endif
|
|
|