Index: gpu/command_buffer/service/in_process_command_buffer.cc |
diff --git a/gpu/command_buffer/service/in_process_command_buffer.cc b/gpu/command_buffer/service/in_process_command_buffer.cc |
index a798710d563aafb7917c944efdfa2aabdb3884cc..17f087ee059720b889a98f9c94148b95401f47a4 100644 |
--- a/gpu/command_buffer/service/in_process_command_buffer.cc |
+++ b/gpu/command_buffer/service/in_process_command_buffer.cc |
@@ -713,7 +713,7 @@ void InProcessCommandBuffer::CreateImageOnGpuThread( |
case gfx::SHARED_MEMORY_BUFFER: { |
scoped_refptr<gfx::GLImageSharedMemory> image( |
new gfx::GLImageSharedMemory(size, internalformat)); |
- if (!image->Initialize(handle, format)) { |
+ if (!image->Initialize(handle.handle, handle.id, format)) { |
LOG(ERROR) << "Failed to initialize image."; |
return; |
} |