| Index: mojo/examples/aura_demo/root_window_host_mojo.cc
|
| diff --git a/mojo/examples/aura_demo/root_window_host_mojo.cc b/mojo/examples/aura_demo/root_window_host_mojo.cc
|
| index db3e13dbc60c0b74635ae3369dc736e9fdced0e4..95d1ff0f1ee7333fc5ad57c2d165fd5a5b2d1f54 100644
|
| --- a/mojo/examples/aura_demo/root_window_host_mojo.cc
|
| +++ b/mojo/examples/aura_demo/root_window_host_mojo.cc
|
| @@ -26,9 +26,8 @@ ui::ContextFactory* RootWindowHostMojo::context_factory_ = NULL;
|
| RootWindowHostMojo::RootWindowHostMojo(
|
| ScopedMessagePipeHandle viewport_handle,
|
| const base::Callback<void()>& compositor_created_callback)
|
| - : native_viewport_(viewport_handle.Pass()),
|
| + : native_viewport_(viewport_handle.Pass(), this),
|
| compositor_created_callback_(compositor_created_callback) {
|
| - native_viewport_.SetPeer(this);
|
| native_viewport_->Open();
|
|
|
| ScopedMessagePipeHandle gles2_handle;
|
| @@ -147,7 +146,7 @@ void RootWindowHostMojo::PrepareForShutdown() {
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
| -// RootWindowHostMojo, NativeViewportClientStub implementation:
|
| +// RootWindowHostMojo, NativeViewportClient implementation:
|
|
|
| void RootWindowHostMojo::OnCreated() {
|
| }
|
|
|