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 c40f82b29acf3f6ea63b0d0e946546f13376c0b2..c051ac2cb80ed8101e14329d23ca5ab387eda12d 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -51,13 +51,12 @@ CommandBufferClientImpl::CommandBufferClientImpl( |
MojoAsyncWaiter* async_waiter, |
ScopedMessagePipeHandle command_buffer_handle) |
: delegate_(delegate), |
- command_buffer_(MakeProxy<mojo::CommandBuffer>( |
- command_buffer_handle.Pass(), async_waiter)), |
shared_state_(NULL), |
last_put_offset_(-1), |
next_transfer_buffer_id_(0), |
initialize_result_(false), |
async_waiter_(async_waiter) { |
+ command_buffer_.Bind(command_buffer_handle.Pass(), async_waiter); |
command_buffer_.set_error_handler(this); |
command_buffer_.set_client(this); |
} |