| Index: ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc
|
| diff --git a/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc b/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc
|
| index ce1f9caaff8b438098c730875c1b1cbc0d95684f..82d95c215b0ad0841a76b755f9e8e5404c6c0cbc 100644
|
| --- a/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc
|
| +++ b/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc
|
| @@ -48,11 +48,10 @@ class GLImageOzoneNativePixmapDmaBuf : public gfx::GLImageLinuxDMABuffer {
|
| unsigned internalformat)
|
| : GLImageLinuxDMABuffer(size, internalformat) {}
|
|
|
| - bool Initialize(NativePixmap* pixmap,
|
| - gfx::GpuMemoryBuffer::Format format) {
|
| + bool Initialize(NativePixmap* pixmap, gfx::GpuMemoryBuffer::Format format) {
|
| base::FileDescriptor handle(pixmap->GetDmaBufFd(), false);
|
| - if (!GLImageLinuxDMABuffer::Initialize(
|
| - handle, format, pixmap->GetDmaBufPitch()))
|
| + if (!GLImageLinuxDMABuffer::Initialize(handle, format,
|
| + pixmap->GetDmaBufPitch()))
|
| return false;
|
| pixmap_ = pixmap;
|
| return true;
|
|
|