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

Unified Diff: examples/spinning_cube/gles2_client_impl.cc

Issue 1677753002: Mojo C++ bindings: InterfacePtr::PassInterface -> PassInterfaceHandle (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « examples/indirect_service/indirect_service_demo.cc ('k') | examples/ui/noodles/noodles_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/spinning_cube/gles2_client_impl.cc
diff --git a/examples/spinning_cube/gles2_client_impl.cc b/examples/spinning_cube/gles2_client_impl.cc
index dfbf209baeaaa1f07240dd87fb0f41bded1ff134..7cbcc4965e62b85064472a1d5a6befc272e599e2 100644
--- a/examples/spinning_cube/gles2_client_impl.cc
+++ b/examples/spinning_cube/gles2_client_impl.cc
@@ -135,7 +135,7 @@ void GLES2ClientImpl::HandleInputEvent(const mojo::Event& event) {
void GLES2ClientImpl::ContextCreated(mojo::CommandBufferPtr command_buffer) {
context_ = MGLCreateContext(
MGL_API_VERSION_GLES2,
- command_buffer.PassInterface().PassHandle().release().value(),
+ command_buffer.PassInterfaceHandle().PassHandle().release().value(),
MGL_NO_CONTEXT, &ContextLostThunk, this,
mojo::Environment::GetDefaultAsyncWaiter());
MGLMakeCurrent(context_);
« no previous file with comments | « examples/indirect_service/indirect_service_demo.cc ('k') | examples/ui/noodles/noodles_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698