Index: services/test_service/test_service_application.cc |
diff --git a/services/test_service/test_service_application.cc b/services/test_service/test_service_application.cc |
index c883cefd8d9250d68fb272f6ebbbad24cf92302b..af116a387c0f0ed41b72aa8dfabe99271a99a859 100644 |
--- a/services/test_service/test_service_application.cc |
+++ b/services/test_service/test_service_application.cc |
@@ -44,7 +44,7 @@ void TestServiceApplication::ReleaseRef() { |
assert(ref_count_ > 0); |
ref_count_--; |
if (ref_count_ <= 0) |
- TerminateApplication(); |
+ TerminateApplication(MOJO_RESULT_OK); |
} |
} // namespace test |
@@ -52,6 +52,5 @@ void TestServiceApplication::ReleaseRef() { |
MojoResult MojoMain(MojoHandle application_request) { |
mojo::test::TestServiceApplication app; |
- mojo::RunApplication(application_request, &app); |
- return MOJO_RESULT_OK; |
+ return mojo::RunApplication(application_request, &app); |
} |