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