| Index: content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.cc b/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| index 33ac9a775a47402e6d4cc2b21fd79cf097cbcbe1..578fa1bf02c2b1bafbfd7f94a237e67094372d7b 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| @@ -632,15 +632,16 @@ DXVAVideoDecodeAccelerator::~DXVAVideoDecodeAccelerator() {
|
| client_ = NULL;
|
| }
|
|
|
| -bool DXVAVideoDecodeAccelerator::Initialize(media::VideoCodecProfile profile,
|
| - Client* client) {
|
| +bool DXVAVideoDecodeAccelerator::Initialize(
|
| + const media::VideoDecodeAccelerator::InitParams& params,
|
| + Client* client) {
|
| client_ = client;
|
|
|
| main_thread_task_runner_ = base::MessageLoop::current()->task_runner();
|
|
|
| bool profile_supported = false;
|
| for (const auto& supported_profile : kSupportedProfiles) {
|
| - if (profile == supported_profile) {
|
| + if (params.profile == supported_profile) {
|
| profile_supported = true;
|
| break;
|
| }
|
|
|