| Index: content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.cc b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| index 0b3001272ac8e8349362fe10fbd4612e5cbc8e3e..afcfc8a3b0632f2d316fe393c44595f04a1ef714 100644
|
| --- a/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| @@ -371,11 +371,8 @@
|
| TRACE_COUNTER1("Video Decoder", "Textures at client", num_frames_at_client_);
|
| DVLOG(4) << "Notifying output picture id " << output_id
|
| << " for input "<< input_id << " is ready";
|
| - // TODO(posciak): Use visible size from decoder here instead
|
| - // (crbug.com/402760).
|
| if (client_)
|
| - client_->PictureReady(
|
| - media::Picture(output_id, input_id, gfx::Rect(tfp_picture->size())));
|
| + client_->PictureReady(media::Picture(output_id, input_id));
|
| }
|
|
|
| void VaapiVideoDecodeAccelerator::TryOutputSurface() {
|
|
|