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

Unified Diff: examples/spinning_cube/gles2_client_impl.h

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase ontop of master, address trung's comments Created 4 years, 10 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: examples/spinning_cube/gles2_client_impl.h
diff --git a/examples/spinning_cube/gles2_client_impl.h b/examples/spinning_cube/gles2_client_impl.h
index 4ba6600d3809691ddcc382c44a8eb979017621a1..03325faa39bbc3eb3ef6dc442bcee9177df94b57 100644
--- a/examples/spinning_cube/gles2_client_impl.h
+++ b/examples/spinning_cube/gles2_client_impl.h
@@ -22,7 +22,8 @@ class GLES2ClientImpl {
void Draw();
private:
- void ContextCreated(mojo::CommandBufferPtr command_buffer);
+ void ContextCreated(
+ mojo::InterfaceHandle<mojo::CommandBuffer> command_buffer);
void ContextLost();
static void ContextLostThunk(void* closure);
void WantToDraw();
« no previous file with comments | « examples/notification_generator/notification_generator.cc ('k') | examples/spinning_cube/gles2_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698