Index: content/common/gpu/media/vaapi_wrapper.h |
diff --git a/content/common/gpu/media/vaapi_wrapper.h b/content/common/gpu/media/vaapi_wrapper.h |
index d4c989d859219ad2197a7c9494a419c0928a4679..49e9f04f4cee79bfb6ad721e51a813e5c74e9cb2 100644 |
--- a/content/common/gpu/media/vaapi_wrapper.h |
+++ b/content/common/gpu/media/vaapi_wrapper.h |
@@ -186,13 +186,11 @@ class CONTENT_EXPORT VaapiWrapper { |
// Destroy all previously-allocated (and not yet destroyed) coded buffers. |
void DestroyCodedBuffers(); |
- // Blits a VASurface |va_surface_id_src| into another VASurface |
- // |va_surface_id_dest| applying pixel format conversion and scaling |
+ // Blits a VASurface |va_surface_src| into another VASurface |
+ // |va_surface_dest| applying pixel format conversion and scaling |
// if needed. |
- bool BlitSurface(VASurfaceID va_surface_id_src, |
- const gfx::Size& src_size, |
- VASurfaceID va_surface_id_dest, |
- const gfx::Size& dest_size); |
+ bool BlitSurface(const scoped_refptr<VASurface>& va_surface_src, |
+ const scoped_refptr<VASurface>& va_surface_dest); |
// Initialize static data before sandbox is enabled. |
static void PreSandboxInitialization(); |