| Index: mojo/examples/sample_app/sample_app.cc
|
| diff --git a/mojo/examples/sample_app/sample_app.cc b/mojo/examples/sample_app/sample_app.cc
|
| index 2e126b0a5a0fb7c76a4696fca4ba511a4811b502..ec1ba511e390c4ee22e487368c19e2a74759537f 100644
|
| --- a/mojo/examples/sample_app/sample_app.cc
|
| +++ b/mojo/examples/sample_app/sample_app.cc
|
| @@ -38,9 +38,9 @@ class SampleApp : public Application, public NativeViewportClient {
|
| viewport_->Create(rect.Pass());
|
| viewport_->Show();
|
|
|
| - MessagePipe gles2_pipe;
|
| - viewport_->CreateGLES2Context(gles2_pipe.handle0.Pass());
|
| - gles2_client_.reset(new GLES2ClientImpl(gles2_pipe.handle1.Pass()));
|
| + CommandBufferPtr command_buffer;
|
| + viewport_->CreateGLES2Context(Get(&command_buffer));
|
| + gles2_client_.reset(new GLES2ClientImpl(command_buffer.Pass()));
|
| }
|
|
|
| virtual void OnCreated() MOJO_OVERRIDE {
|
|
|