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

Unified Diff: examples/spinning_cube/spinning_cube_app.cc

Issue 2011593002: Make RunApplication() return a MojoResult and TerminateApplication() take one. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh 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/lib/run_application.cc » ('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 adcef63976df44f0fa2f3fbb6ed2aabab4aa8207..eac07b2785c7c33819998afb0696929d5094d2e2 100644
--- a/examples/spinning_cube/spinning_cube_app.cc
+++ b/examples/spinning_cube/spinning_cube_app.cc
@@ -95,6 +95,5 @@ class SpinningCubeApp : public mojo::ApplicationImplBase,
MojoResult MojoMain(MojoHandle application_request) {
examples::SpinningCubeApp spinning_cube_app;
- mojo::RunApplication(application_request, &spinning_cube_app);
- return MOJO_RESULT_OK;
+ return mojo::RunApplication(application_request, &spinning_cube_app);
}
« no previous file with comments | « no previous file | mojo/public/cpp/application/lib/run_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698