Index: content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
diff --git a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc b/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
index 69fdd3085cb6100314a068d717c23d99e40bf1cb..19106cb2c42f248a757bd85e33c3601b41225036 100644 |
--- a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
+++ b/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
@@ -129,7 +129,7 @@ GpuMemoryBufferFactoryOzoneNativePixmap::CreateImageForGpuMemoryBuffer( |
scoped_refptr<gfx::GLImageOzoneNativePixmap> image( |
new gfx::GLImageOzoneNativePixmap(size, internalformat)); |
- if (!image->Initialize(pixmap.get(), format)) { |
+ if (!image->Initialize(pixmap.get())) { |
LOG(ERROR) << "Failed to create GLImage"; |
return nullptr; |
} |