| Index: content/common/gpu/client/gpu_video_decode_accelerator_host.cc
|
| diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
|
| index a329dcc54dce45b5524dbdef39ed211d297e4e46..0fbbdc2e0d944f401af2ae0a48118961e58f95fd 100644
|
| --- a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
|
| +++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
|
| @@ -81,8 +81,9 @@ void GpuVideoDecodeAcceleratorHost::OnChannelError() {
|
| PostNotifyError(PLATFORM_FAILURE);
|
| }
|
|
|
| -bool GpuVideoDecodeAcceleratorHost::Initialize(media::VideoCodecProfile profile,
|
| - Client* client) {
|
| +bool GpuVideoDecodeAcceleratorHost::Initialize(
|
| + const media::VideoDecodeAccelerator::InitParams& params,
|
| + Client* client) {
|
| DCHECK(CalledOnValidThread());
|
| client_ = client;
|
|
|
| @@ -93,7 +94,7 @@ bool GpuVideoDecodeAcceleratorHost::Initialize(media::VideoCodecProfile profile,
|
| channel_->AddRoute(route_id, weak_this_factory_.GetWeakPtr());
|
|
|
| bool succeeded = false;
|
| - Send(new GpuCommandBufferMsg_CreateVideoDecoder(impl_->route_id(), profile,
|
| + Send(new GpuCommandBufferMsg_CreateVideoDecoder(impl_->route_id(), params,
|
| route_id, &succeeded));
|
|
|
| if (!succeeded) {
|
|
|