Index: content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
diff --git a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc b/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
index ebe69113fb79fbba15ce4cc590f7ee2232776587..a6ce59fdd627b57c58a0eee83af99206a8e8712c 100644 |
--- a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
+++ b/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
@@ -215,8 +215,8 @@ |
return scoped_refptr<gfx::GLImage>(); |
scoped_refptr<gfx::GLImageIOSurface> image( |
- new gfx::GLImageIOSurface(size, internalformat)); |
- if (!image->Initialize(it->second.get(), handle.id, format)) |
+ new gfx::GLImageIOSurface(handle.id, size, internalformat)); |
+ if (!image->Initialize(it->second.get(), format)) |
return scoped_refptr<gfx::GLImage>(); |
return image; |