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