| 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 7590f322b0a24f77643370375b565f676db1501f..f57ea95bea7d3c8221fcdf71e2db59254e565016 100644
|
| --- a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
|
| +++ b/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
|
| @@ -220,8 +220,8 @@ GpuMemoryBufferFactoryIOSurface::CreateImageForGpuMemoryBuffer(
|
| return scoped_refptr<gfx::GLImage>();
|
|
|
| scoped_refptr<gfx::GLImageIOSurface> image(
|
| - new gfx::GLImageIOSurface(handle.id, size, internalformat));
|
| - if (!image->Initialize(it->second.get(), format))
|
| + new gfx::GLImageIOSurface(size, internalformat));
|
| + if (!image->Initialize(it->second.get(), handle.id, format))
|
| return scoped_refptr<gfx::GLImage>();
|
|
|
| return image;
|
|
|