Index: services/service_manager/public/cpp/lib/service_runner.cc |
diff --git a/services/service_manager/public/cpp/lib/service_runner.cc b/services/service_manager/public/cpp/lib/service_runner.cc |
index 374a9483ca2416a4237a8cee6db957951a6be308..4ba2f58e87f22c5f4452e598fb56fce7a0fdef55 100644 |
--- a/services/service_manager/public/cpp/lib/service_runner.cc |
+++ b/services/service_manager/public/cpp/lib/service_runner.cc |
@@ -57,7 +57,7 @@ MojoResult ServiceRunner::Run(MojoHandle service_request_handle, |
mojo::MakeRequest<mojom::Service>(mojo::MakeScopedHandle( |
mojo::MessagePipeHandle(service_request_handle))))); |
base::RunLoop run_loop; |
- context_->SetConnectionLostClosure(run_loop.QuitClosure()); |
+ context_->SetQuitClosure(run_loop.QuitClosure()); |
run_loop.Run(); |
context_.reset(); |
} |