| Index: content/common/gpu/media/vt_video_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/vt_video_decode_accelerator.h b/content/common/gpu/media/vt_video_decode_accelerator.h
|
| index 3fbb0eb38006ef35dd2e4c5f260c23750faa1526..d3850d87489e6cc9de5cf74f301ac873eabe59de 100644
|
| --- a/content/common/gpu/media/vt_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/vt_video_decode_accelerator.h
|
| @@ -33,7 +33,9 @@ class VTVideoDecodeAccelerator
|
| : public media::VideoDecodeAccelerator,
|
| public base::NonThreadSafe {
|
| public:
|
| - explicit VTVideoDecodeAccelerator(CGLContextObj cgl_context);
|
| + explicit VTVideoDecodeAccelerator(
|
| + CGLContextObj cgl_context,
|
| + const base::Callback<bool(void)>& make_context_current);
|
| ~VTVideoDecodeAccelerator() override;
|
|
|
| // VideoDecodeAccelerator implementation.
|
| @@ -121,6 +123,7 @@ class VTVideoDecodeAccelerator
|
| // GPU thread state.
|
| //
|
| CGLContextObj cgl_context_;
|
| + base::Callback<bool(void)> make_context_current_;
|
| media::VideoDecodeAccelerator::Client* client_;
|
| bool has_error_; // client_->NotifyError() called.
|
| gfx::Size texture_size_;
|
|
|