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

Unified Diff: examples/spinning_cube/spinning_cube_app.cc

Issue 2008543004: Add RunMainApplication()/TerminateMainApplication() for use in MojoMain(). (Closed) Base URL: https://github.com/domokit/mojo.git@work796_run_app_returns
Patch Set: Created 4 years, 7 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 | « no previous file | mojo/public/cpp/application/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/spinning_cube/spinning_cube_app.cc
diff --git a/examples/spinning_cube/spinning_cube_app.cc b/examples/spinning_cube/spinning_cube_app.cc
index eac07b2785c7c33819998afb0696929d5094d2e2..a1fc4a7ab755e2565af87750a5bee16fd1317ea2 100644
--- a/examples/spinning_cube/spinning_cube_app.cc
+++ b/examples/spinning_cube/spinning_cube_app.cc
@@ -95,5 +95,5 @@ class SpinningCubeApp : public mojo::ApplicationImplBase,
MojoResult MojoMain(MojoHandle application_request) {
examples::SpinningCubeApp spinning_cube_app;
- return mojo::RunApplication(application_request, &spinning_cube_app);
+ return mojo::RunMainApplication(application_request, &spinning_cube_app);
}
« no previous file with comments | « no previous file | mojo/public/cpp/application/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698