blob: c84cc372c85d9b577edbdc7fc489c85ab54c2474 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff --git a/media/gpu/vaapi/vaapi_picture_tfp.cc b/media/gpu/vaapi/vaapi_picture_tfp.cc
index dca5b5c46..f65d580da 100644
--- a/media/gpu/vaapi/vaapi_picture_tfp.cc
+++ b/media/gpu/vaapi/vaapi_picture_tfp.cc
@@ -97,7 +97,7 @@ bool VaapiTFPPicture::Allocate(gfx::BufferFormat format) {
bool VaapiTFPPicture::ImportGpuMemoryBufferHandle(
gfx::BufferFormat format,
- const gfx::GpuMemoryBufferHandle& gpu_memory_buffer_handle) {
+ gfx::GpuMemoryBufferHandle gpu_memory_buffer_handle) {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
NOTIMPLEMENTED() << "GpuMemoryBufferHandle import not implemented";
return false;
diff --git a/media/gpu/vaapi/vaapi_picture_tfp.h b/media/gpu/vaapi/vaapi_picture_tfp.h
index a9ba8a1c5..9fb27a5cd 100644
--- a/media/gpu/vaapi/vaapi_picture_tfp.h
+++ b/media/gpu/vaapi/vaapi_picture_tfp.h
@@ -40,7 +40,7 @@ class VaapiTFPPicture : public VaapiPicture {
bool Allocate(gfx::BufferFormat format) override;
bool ImportGpuMemoryBufferHandle(
gfx::BufferFormat format,
- const gfx::GpuMemoryBufferHandle& gpu_memory_buffer_handle) override;
+ gfx::GpuMemoryBufferHandle gpu_memory_buffer_handle) override;
bool DownloadFromSurface(const scoped_refptr<VASurface>& va_surface) override;
private:
|