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 8a93546cfd2e0d372d59c3b50f581ef4013623f1..1ddadb474164d0c9668851a1eade7f4b7c2780ec 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -121,7 +121,10 @@ CommandBufferClientImpl::CommandBufferClientImpl( |
last_put_offset_(-1), |
next_transfer_buffer_id_(0), |
async_waiter_(async_waiter) { |
- command_buffer_.Bind(command_buffer_handle.Pass(), async_waiter); |
+ command_buffer_.Bind( |
+ mojo::InterfacePtrInfo<mojo::CommandBuffer>(command_buffer_handle.Pass(), |
+ 0u), |
+ async_waiter); |
command_buffer_.set_error_handler(this); |
} |