| Index: content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| index 9f78d2301aa56f621228e4dabcf53bb9015bfa8f..a0321c5a8b336bb38c8f2c7a4840a25cb3a64446 100644
|
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| @@ -358,7 +358,9 @@ scoped_ptr<media::VideoDecodeAccelerator>
|
| GpuVideoDecodeAccelerator::CreateVTVDA() {
|
| scoped_ptr<media::VideoDecodeAccelerator> decoder;
|
| #if defined(OS_MACOSX)
|
| - decoder.reset(new VTVideoDecodeAccelerator(make_context_current_));
|
| + decoder.reset(new VTVideoDecodeAccelerator(
|
| + make_context_current_, base::Bind(&GpuVideoDecodeAccelerator::BindImage,
|
| + base::Unretained(this))));
|
| #endif
|
| return decoder.Pass();
|
| }
|
|
|