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 abe95f651df033f64bf0caf5aefd97f4585e499a..8c20e9658c8ec1d52baf9b64776a39d893b95045 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -121,7 +121,9 @@ 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); |
} |