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

Unified Diff: services/native_viewport/main.cc

Issue 1058163002: Replaces |shell_handle| with |application_request| as the name of the parameter to MojoMain(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « services/nacl/content_handler_main.cc ('k') | services/python/content_handler/content_handler_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/native_viewport/main.cc
diff --git a/services/native_viewport/main.cc b/services/native_viewport/main.cc
index 13e8bc16ca5f1df9d77eb0488a071da3cbcab34f..368a347c74cb7ddfaa35121b24fdfc748815a894 100644
--- a/services/native_viewport/main.cc
+++ b/services/native_viewport/main.cc
@@ -91,9 +91,9 @@ class NativeViewportAppDelegate : public mojo::ApplicationDelegate,
};
}
-MojoResult MojoMain(MojoHandle shell_handle) {
+MojoResult MojoMain(MojoHandle application_request) {
mojo::ApplicationRunnerChromium runner(
new native_viewport::NativeViewportAppDelegate);
runner.set_message_loop_type(base::MessageLoop::TYPE_UI);
- return runner.Run(shell_handle);
+ return runner.Run(application_request);
}
« no previous file with comments | « services/nacl/content_handler_main.cc ('k') | services/python/content_handler/content_handler_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698