Index: media/gpu/video_decode_accelerator_unittest.cc |
diff --git a/media/gpu/video_decode_accelerator_unittest.cc b/media/gpu/video_decode_accelerator_unittest.cc |
index 6f8fe5063a971d25dfca547a02883a17b1fb69bc..2606f3a14db455539ef9d958fbbe7212074dc989 100644 |
--- a/media/gpu/video_decode_accelerator_unittest.cc |
+++ b/media/gpu/video_decode_accelerator_unittest.cc |
@@ -371,8 +371,9 @@ gfx::GpuMemoryBufferHandle TextureRef::ExportGpuMemoryBufferHandle() const { |
handle.type = gfx::OZONE_NATIVE_PIXMAP; |
handle.native_pixmap_handle.fds.emplace_back( |
base::FileDescriptor(duped_fd, true)); |
- handle.native_pixmap_handle.strides_and_offsets.emplace_back( |
- pixmap_->GetDmaBufPitch(0), pixmap_->GetDmaBufOffset(0)); |
+ handle.native_pixmap_handle.planes.emplace_back( |
+ pixmap_->GetDmaBufPitch(0), pixmap_->GetDmaBufOffset(0), |
+ pixmap_->GetDmaBufModifier(0)); |
#endif |
return handle; |
} |