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

Unified Diff: mojo/gles2/command_buffer_client_impl.cc

Issue 272323003: Mojo: Implement support for |Foo&| mojom syntax (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 | « mojo/examples/sample_app/sample_app.cc ('k') | mojo/mojo_public.gypi » ('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 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);
}
« no previous file with comments | « mojo/examples/sample_app/sample_app.cc ('k') | mojo/mojo_public.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698