| Index: content/common/gpu/media/vaapi_drm_picture.h
|
| diff --git a/content/common/gpu/media/vaapi_drm_picture.h b/content/common/gpu/media/vaapi_drm_picture.h
|
| index 7f5fc8a1780e7023ffd80e70b1b6dd5ae0517c37..066192b25ca9f8a1951db7d621497aa09f9bf9bb 100644
|
| --- a/content/common/gpu/media/vaapi_drm_picture.h
|
| +++ b/content/common/gpu/media/vaapi_drm_picture.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include "base/callback.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| @@ -34,7 +35,7 @@
|
| class VaapiDrmPicture : public VaapiPicture {
|
| public:
|
| VaapiDrmPicture(const scoped_refptr<VaapiWrapper>& vaapi_wrapper,
|
| - const MakeGLContextCurrentCallback& make_context_current_cb,
|
| + const base::Callback<bool(void)>& make_context_current,
|
| int32_t picture_buffer_id,
|
| uint32_t texture_id,
|
| const gfx::Size& size);
|
| @@ -51,7 +52,7 @@
|
|
|
| private:
|
| scoped_refptr<VaapiWrapper> vaapi_wrapper_;
|
| - MakeGLContextCurrentCallback make_context_current_cb_;
|
| + base::Callback<bool(void)> make_context_current_;
|
|
|
| // Ozone buffer, the storage of the EGLImage and the VASurface.
|
| scoped_refptr<ui::NativePixmap> pixmap_;
|
|
|