| 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 066192b25ca9f8a1951db7d621497aa09f9bf9bb..81d2133f59a158372217085ac696689e0af38651 100644
|
| --- a/content/common/gpu/media/vaapi_drm_picture.h
|
| +++ b/content/common/gpu/media/vaapi_drm_picture.h
|
| @@ -11,7 +11,6 @@
|
|
|
| #include <stdint.h>
|
|
|
| -#include "base/callback.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| @@ -34,11 +33,12 @@ class VaapiWrapper;
|
| // Implementation of VaapiPicture for the ozone/drm backed chromium.
|
| class VaapiDrmPicture : public VaapiPicture {
|
| public:
|
| - VaapiDrmPicture(const scoped_refptr<VaapiWrapper>& vaapi_wrapper,
|
| - const base::Callback<bool(void)>& make_context_current,
|
| - int32_t picture_buffer_id,
|
| - uint32_t texture_id,
|
| - const gfx::Size& size);
|
| + VaapiDrmPicture(
|
| + const scoped_refptr<VaapiWrapper>& vaapi_wrapper,
|
| + const gpu_vda::MakeGLContextCurrentCallback& make_context_current_cb,
|
| + int32_t picture_buffer_id,
|
| + uint32_t texture_id,
|
| + const gfx::Size& size);
|
|
|
| ~VaapiDrmPicture() override;
|
|
|
| @@ -52,7 +52,7 @@ class VaapiDrmPicture : public VaapiPicture {
|
|
|
| private:
|
| scoped_refptr<VaapiWrapper> vaapi_wrapper_;
|
| - base::Callback<bool(void)> make_context_current_;
|
| + gpu_vda::MakeGLContextCurrentCallback make_context_current_cb_;
|
|
|
| // Ozone buffer, the storage of the EGLImage and the VASurface.
|
| scoped_refptr<ui::NativePixmap> pixmap_;
|
|
|