| Index: content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| diff --git a/content/common/gpu/media/vt_video_decode_accelerator_mac.cc b/content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| index 3c192ec5976338c2f283332e93ad6c0baed9986d..4a88b28eef964bf672f5852c39a46d4694ed70fa 100644
|
| --- a/content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| +++ b/content/common/gpu/media/vt_video_decode_accelerator_mac.cc
|
| @@ -288,9 +288,8 @@ bool VTVideoDecodeAccelerator::FrameOrder::operator()(
|
| }
|
|
|
| VTVideoDecodeAccelerator::VTVideoDecodeAccelerator(
|
| - const base::Callback<bool(void)>& make_context_current,
|
| - const base::Callback<void(uint32_t, uint32_t, scoped_refptr<gl::GLImage>)>&
|
| - bind_image)
|
| + const MakeContextCurrentCallback& make_context_current,
|
| + const BindImageCallback& bind_image)
|
| : make_context_current_(make_context_current),
|
| bind_image_(bind_image),
|
| client_(nullptr),
|
| @@ -1060,7 +1059,7 @@ bool VTVideoDecodeAccelerator::SendFrame(const Frame& frame) {
|
| }
|
|
|
| bind_image_.Run(picture_info->client_texture_id, GL_TEXTURE_RECTANGLE_ARB,
|
| - gl_image);
|
| + gl_image, true);
|
|
|
| // Assign the new image(s) to the the picture info.
|
| picture_info->gl_image = gl_image;
|
|
|