Index: mojo/gles2/command_buffer_client_impl.cc |
diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc |
index c9dcf91e5694b2a93ea676f86478a0cdae8b031f..3ffecf3d02ff959ad860c1c9dd171b0fde540035 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -125,7 +125,7 @@ scoped_refptr<gpu::Buffer> CommandBufferClientImpl::CreateTransferBuffer( |
*id, handle, static_cast<uint32_t>(size)); |
scoped_refptr<gpu::Buffer> buffer = |
- new gpu::Buffer(shared_memory.Pass(), size); |
+ gpu::MakeBufferFromSharedMemory(shared_memory.Pass(), size); |
return buffer; |
} |