Index: chrome/gpu/arc_gpu_video_decode_accelerator.cc |
diff --git a/chrome/gpu/arc_gpu_video_decode_accelerator.cc b/chrome/gpu/arc_gpu_video_decode_accelerator.cc |
index 7a632b670718eefc137116edb6150800bab5ea01..75c60f53346c936dc4b3827a3f52d1f5a089d938 100644 |
--- a/chrome/gpu/arc_gpu_video_decode_accelerator.cc |
+++ b/chrome/gpu/arc_gpu_video_decode_accelerator.cc |
@@ -294,8 +294,7 @@ void ArcGpuVideoDecodeAccelerator::UseBuffer(PortType port, |
#if defined(USE_OZONE) |
handle.native_pixmap_handle.fds.emplace_back( |
base::FileDescriptor(info.handle.release(), true)); |
- handle.native_pixmap_handle.strides_and_offsets.emplace_back( |
- info.stride, 0); |
+ handle.native_pixmap_handle.planes.emplace_back(info.stride, 0, 0); |
#endif |
vda_->ImportBufferForPicture(index, handle); |
} else { |