Index: content/child/mojo/mojo_application.cc |
diff --git a/content/child/mojo/mojo_application.cc b/content/child/mojo/mojo_application.cc |
index 1d61c0b15b2faa6605eabaf8ef5ff2af4cf85e91..b3eb585147e99b083845f17d3e817d9c5bf572c9 100644 |
--- a/content/child/mojo/mojo_application.cc |
+++ b/content/child/mojo/mojo_application.cc |
@@ -38,8 +38,8 @@ void MojoApplication::OnActivate( |
ChildProcess::current()->io_message_loop_proxy()); |
DCHECK(message_pipe.is_valid()); |
- shell_.reset( |
- mojo::ScopedShellHandle::From(message_pipe.Pass()), shell_client_); |
+ shell_ = mojo::MakeProxy<mojo::Shell>(message_pipe.Pass()); |
+ shell_->SetClient(shell_client_); |
} |
} // namespace content |