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

Unified Diff: mojo/gles2/command_buffer_client_impl.cc

Issue 1118843003: Remove some InterfacePtr<> methods which directly deal with message pipe handles. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « examples/surfaces_app/child_gl_impl.cc ('k') | mojo/gpu/gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « examples/surfaces_app/child_gl_impl.cc ('k') | mojo/gpu/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698