| Index: content/common/gpu/media/vt_video_decode_accelerator_mac.h
|
| diff --git a/content/common/gpu/media/vt_video_decode_accelerator_mac.h b/content/common/gpu/media/vt_video_decode_accelerator_mac.h
|
| index c3e75e9e860b6fe2c562aa99fca9e61b6d1c4f6b..2d222163823e4e7cf603d444761741c4c131c059 100644
|
| --- a/content/common/gpu/media/vt_video_decode_accelerator_mac.h
|
| +++ b/content/common/gpu/media/vt_video_decode_accelerator_mac.h
|
| @@ -35,8 +35,9 @@
|
| class VTVideoDecodeAccelerator : public media::VideoDecodeAccelerator {
|
| public:
|
| explicit VTVideoDecodeAccelerator(
|
| - const MakeContextCurrentCallback& make_context_current,
|
| - const BindImageCallback& bind_image);
|
| + const base::Callback<bool(void)>& make_context_current,
|
| + const base::Callback<
|
| + void(uint32_t, uint32_t, scoped_refptr<gl::GLImage>)>& bind_image);
|
| ~VTVideoDecodeAccelerator() override;
|
|
|
| // VideoDecodeAccelerator implementation.
|
| @@ -188,8 +189,9 @@
|
| //
|
| // GPU thread state.
|
| //
|
| - MakeContextCurrentCallback make_context_current_;
|
| - BindImageCallback bind_image_;
|
| + base::Callback<bool(void)> make_context_current_;
|
| + base::Callback<void(uint32_t, uint32_t, scoped_refptr<gl::GLImage>)>
|
| + bind_image_;
|
| media::VideoDecodeAccelerator::Client* client_;
|
| State state_;
|
|
|
|
|