| Index: mojo/public/cpp/application/lib/application_runner.cc
|
| diff --git a/mojo/public/cpp/application/lib/application_runner.cc b/mojo/public/cpp/application/lib/application_runner.cc
|
| index dbfdd4f183fad2e9ec88a6b40c0424acbe123531..0737dc76f87f8d922bdbf01f66a1f47410540893 100644
|
| --- a/mojo/public/cpp/application/lib/application_runner.cc
|
| +++ b/mojo/public/cpp/application/lib/application_runner.cc
|
| @@ -23,13 +23,12 @@ ApplicationRunner::~ApplicationRunner() {
|
| assert(!delegate_);
|
| }
|
|
|
| -MojoResult ApplicationRunner::Run(MojoHandle shell_handle) {
|
| +MojoResult ApplicationRunner::Run(MojoHandle app_request_handle) {
|
| Environment env;
|
| {
|
| RunLoop loop;
|
| - ShellPtr shell;
|
| - shell.Bind(MakeScopedHandle(MessagePipeHandle(shell_handle)));
|
| - ApplicationImpl app(delegate_, shell.Pass());
|
| + ApplicationImpl app(delegate_, MakeRequest<Application>(MakeScopedHandle(
|
| + MessagePipeHandle(app_request_handle))));
|
| loop.Run();
|
| }
|
|
|
|
|