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 6988a2feab78df12be40909176e02a129016b137..bda36a6bf3f3d7e46501455d3914f59a46860d5d 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -121,10 +121,9 @@ CommandBufferClientImpl::CommandBufferClientImpl( |
last_put_offset_(-1), |
next_transfer_buffer_id_(0), |
async_waiter_(async_waiter) { |
- command_buffer_.Bind( |
- mojo::InterfacePtrInfo<mojo::CommandBuffer>(command_buffer_handle.Pass(), |
- 0u), |
- async_waiter); |
+ command_buffer_.Bind(mojo::InterfaceHandle<mojo::CommandBuffer>( |
+ command_buffer_handle.Pass(), 0u), |
+ async_waiter); |
command_buffer_.set_connection_error_handler( |
[this]() { DidLoseContext(gpu::error::kUnknown); }); |
} |