| 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..7f5fc8a1780e7023ffd80e70b1b6dd5ae0517c37 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"
|
| @@ -35,7 +34,7 @@ class VaapiWrapper;
|
| class VaapiDrmPicture : public VaapiPicture {
|
| public:
|
| VaapiDrmPicture(const scoped_refptr<VaapiWrapper>& vaapi_wrapper,
|
| - const base::Callback<bool(void)>& make_context_current,
|
| + const MakeGLContextCurrentCallback& make_context_current_cb,
|
| int32_t picture_buffer_id,
|
| uint32_t texture_id,
|
| const gfx::Size& size);
|
| @@ -52,7 +51,7 @@ class VaapiDrmPicture : public VaapiPicture {
|
|
|
| private:
|
| scoped_refptr<VaapiWrapper> vaapi_wrapper_;
|
| - base::Callback<bool(void)> make_context_current_;
|
| + MakeGLContextCurrentCallback make_context_current_cb_;
|
|
|
| // Ozone buffer, the storage of the EGLImage and the VASurface.
|
| scoped_refptr<ui::NativePixmap> pixmap_;
|
|
|