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 4a0b83bce17a37105060604e6e6f5df47bfe50ce..d7f84a2f2c45f0b495a5f41cde0c98e8d5519b6b 100644 |
--- a/content/common/gpu/media/vaapi_drm_picture.h |
+++ b/content/common/gpu/media/vaapi_drm_picture.h |
@@ -13,6 +13,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "content/common/gpu/media/vaapi_picture.h" |
+#include "ui/gfx/buffer_types.h" |
#include "ui/gfx/geometry/size.h" |
namespace gfx { |
@@ -57,7 +58,8 @@ class VaapiDrmPicture : public VaapiPicture { |
scoped_refptr<VASurface> CreateVASurfaceForPixmap( |
scoped_refptr<ui::NativePixmap> pixmap, |
gfx::Size pixmap_size); |
- scoped_refptr<ui::NativePixmap> CreateNativePixmap(gfx::Size size); |
+ scoped_refptr<ui::NativePixmap> CreateNativePixmap(gfx::Size size, |
+ gfx::BufferFormat format); |
VaapiWrapper* vaapi_wrapper_; // Not owned. |
base::Callback<bool(void)> make_context_current_; |