| Index: mojo/examples/compositor_app/compositor_app.cc
|
| diff --git a/mojo/examples/compositor_app/compositor_app.cc b/mojo/examples/compositor_app/compositor_app.cc
|
| index 0b4baaa26abf8af37aa56ffe5848c84568de0bec..e4b72dab3f4ed49804c87b3ca5859a3d3cde6a1e 100644
|
| --- a/mojo/examples/compositor_app/compositor_app.cc
|
| +++ b/mojo/examples/compositor_app/compositor_app.cc
|
| @@ -30,9 +30,10 @@ class SampleApp : public Application, public NativeViewportClient {
|
| viewport_->Create(Rect::From(gfx::Rect(10, 10, 800, 600)));
|
| viewport_->Show();
|
|
|
| - MessagePipe gles2_pipe;
|
| - viewport_->CreateGLES2Context(gles2_pipe.handle0.Pass());
|
| - host_.reset(new CompositorHost(gles2_pipe.handle1.Pass()));
|
| + MessagePipe pipe;
|
| + viewport_->CreateGLES2Context(
|
| + MakeRequest<CommandBuffer>(pipe.handle0.Pass()));
|
| + host_.reset(new CompositorHost(pipe.handle1.Pass()));
|
| }
|
|
|
| virtual void OnCreated() OVERRIDE {
|
|
|