Index: services/shell/runner/host/native_application_support.cc |
diff --git a/services/shell/runner/host/native_application_support.cc b/services/shell/runner/host/native_application_support.cc |
index fa46f1902b97fbbcbc39708d40abf6a9de9cf2ab..b776bb60d15ed877358e05bad1c85520ba15e33a 100644 |
--- a/services/shell/runner/host/native_application_support.cc |
+++ b/services/shell/runner/host/native_application_support.cc |
@@ -85,18 +85,18 @@ bool RunNativeApplication(base::NativeLibrary app_library, |
#endif // !defined(COMPONENT_BUILD) |
- typedef MojoResult (*MojoMainFunction)(MojoHandle); |
- MojoMainFunction main_function = reinterpret_cast<MojoMainFunction>( |
- base::GetFunctionPointerFromNativeLibrary(app_library, "MojoMain")); |
+ typedef MojoResult (*ServiceMainFunction)(MojoHandle); |
+ ServiceMainFunction main_function = reinterpret_cast<ServiceMainFunction>( |
+ base::GetFunctionPointerFromNativeLibrary(app_library, "ServiceMain")); |
if (!main_function) { |
- LOG(ERROR) << "MojoMain not found"; |
+ LOG(ERROR) << "ServiceMain not found"; |
return false; |
} |
- // |MojoMain()| takes ownership of the service handle. |
+ // |ServiceMain()| takes ownership of the service handle. |
MojoHandle handle = request.PassMessagePipe().release().value(); |
MojoResult result = main_function(handle); |
if (result != MOJO_RESULT_OK) { |
- LOG(ERROR) << "MojoMain returned error (result: " << result << ")"; |
+ LOG(ERROR) << "ServiceMain returned error (result: " << result << ")"; |
} |
return true; |
} |