Index: mojo/examples/sample_app/gles2_client_impl.cc |
diff --git a/mojo/examples/sample_app/gles2_client_impl.cc b/mojo/examples/sample_app/gles2_client_impl.cc |
index 981caaa18d670082551267b81005f0009acf9d9d..82ab114521dbab1c33bbb6d7a70a48218f93c23b 100644 |
--- a/mojo/examples/sample_app/gles2_client_impl.cc |
+++ b/mojo/examples/sample_app/gles2_client_impl.cc |
@@ -26,10 +26,10 @@ float GetRandomColor() { |
} |
-GLES2ClientImpl::GLES2ClientImpl(ScopedMessagePipeHandle pipe) |
+GLES2ClientImpl::GLES2ClientImpl(CommandBufferPtr command_buffer) |
: getting_animation_frames_(false) { |
context_ = MojoGLES2CreateContext( |
- pipe.release().value(), |
+ command_buffer.PassMessagePipe().release().value(), |
&ContextLostThunk, |
&DrawAnimationFrameThunk, |
this); |