Index: content/common/gpu/gpu_channel.cc |
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc |
index 88d59ecf413a1a2ab73b536e0a6224b4e994576f..7e13f8e777204e4714617f771513d2597e3d03b1 100644 |
--- a/content/common/gpu/gpu_channel.cc |
+++ b/content/common/gpu/gpu_channel.cc |
@@ -1042,7 +1042,7 @@ scoped_refptr<gfx::GLImage> GpuChannel::CreateImageForGpuMemoryBuffer( |
case gfx::SHARED_MEMORY_BUFFER: { |
scoped_refptr<gfx::GLImageSharedMemory> image( |
new gfx::GLImageSharedMemory(size, internalformat)); |
- if (!image->Initialize(handle.handle, handle.id, format)) |
+ if (!image->Initialize(handle.handle, handle.id, format, handle.offset)) |
return scoped_refptr<gfx::GLImage>(); |
return image; |