Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1800)

Unified Diff: third_party/mojo/src/mojo/public/cpp/application/lib/application_runner.cc

Issue 883843002: Update mojo sdk to rev 126532ce21c5c3c55a1e1693731411cb60169efd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698