Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1305)

Unified Diff: mojo/gles2/command_buffer_client_impl.cc

Issue 1660403003: Mojo C++ bindings: Rename InterfaceInfoPtr -> InterfaceHandle (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: using {{InterfaceName}}Handle = InterfaceHandle<{{InterfaceName}}> Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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); });
}

Powered by Google App Engine
This is Rietveld 408576698