Index: services/shell/tests/lifecycle/parent.cc |
diff --git a/services/shell/tests/lifecycle/parent.cc b/services/shell/tests/lifecycle/parent.cc |
index 0fd49334c83181def930153481baf7e17da400cd..1f5a9a43ad6878ae9ed84fdccba8995d09e4cd6d 100644 |
--- a/services/shell/tests/lifecycle/parent.cc |
+++ b/services/shell/tests/lifecycle/parent.cc |
@@ -7,8 +7,8 @@ |
#include "base/bind.h" |
#include "base/message_loop/message_loop.h" |
#include "base/run_loop.h" |
-#include "mojo/public/c/system/main.h" |
#include "mojo/public/cpp/bindings/binding_set.h" |
+#include "services/shell/public/c/main.h" |
#include "services/shell/public/cpp/connector.h" |
#include "services/shell/public/cpp/service.h" |
#include "services/shell/public/cpp/service_runner.h" |
@@ -69,7 +69,7 @@ class Parent : public shell::Service, |
} // namespace |
-MojoResult MojoMain(MojoHandle shell_handle) { |
+MojoResult ServiceMain(MojoHandle service_request_handle) { |
Parent* parent = new Parent; |
- return shell::ServiceRunner(parent).Run(shell_handle); |
+ return shell::ServiceRunner(parent).Run(service_request_handle); |
} |