Index: ui/ozone/platform/drm/gpu/drm_thread_proxy.cc |
diff --git a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc |
index 1bc85ca8698a398bea085934f4248fdb3f8ab015..08c96a87acfe6f0e2d6ac10358f899ed0b8da5b3 100644 |
--- a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc |
+++ b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc |
@@ -44,14 +44,12 @@ scoped_refptr<GbmBuffer> DrmThreadProxy::CreateBufferFromFds( |
const gfx::Size& size, |
gfx::BufferFormat format, |
std::vector<base::ScopedFD>&& fds, |
- std::vector<int> strides, |
- std::vector<int> offsets) { |
+ const std::vector<gfx::GbmBufferPlane>& planes) { |
scoped_refptr<GbmBuffer> buffer; |
- PostSyncTask( |
- drm_thread_.task_runner(), |
- base::Bind(&DrmThread::CreateBufferFromFds, |
- base::Unretained(&drm_thread_), size, format, |
- base::Passed(std::move(fds)), strides, offsets, &buffer)); |
+ PostSyncTask(drm_thread_.task_runner(), |
+ base::Bind(&DrmThread::CreateBufferFromFds, |
+ base::Unretained(&drm_thread_), size, format, |
+ base::Passed(std::move(fds)), planes, &buffer)); |
return buffer; |
} |