| Index: content/common/gpu/media/vaapi_tfp_picture.h
|
| diff --git a/content/common/gpu/media/vaapi_tfp_picture.h b/content/common/gpu/media/vaapi_tfp_picture.h
|
| index 5ef356532020e951ed717ed883d85535bd2cbc7e..3b66e10800bb9a3444da6763f6a852db50c0c849 100644
|
| --- a/content/common/gpu/media/vaapi_tfp_picture.h
|
| +++ b/content/common/gpu/media/vaapi_tfp_picture.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include "base/callback.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "content/common/gpu/media/vaapi_picture.h"
|
| @@ -33,7 +34,7 @@
|
| class VaapiTFPPicture : public VaapiPicture {
|
| public:
|
| VaapiTFPPicture(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);
|
| @@ -49,7 +50,7 @@
|
| private:
|
| scoped_refptr<VaapiWrapper> vaapi_wrapper_;
|
|
|
| - MakeGLContextCurrentCallback make_context_current_cb_;
|
| + base::Callback<bool(void)> make_context_current_;
|
| Display* x_display_;
|
|
|
| Pixmap x_pixmap_;
|
|
|