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

Unified Diff: services/service_manager/public/cpp/lib/service_context.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 years 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
Index: services/service_manager/public/cpp/lib/service_context.cc
diff --git a/services/service_manager/public/cpp/lib/service_context.cc b/services/service_manager/public/cpp/lib/service_context.cc
index d2997a67cecb196075c617a570d90840b085cb55..87e4c45a8040c5bd61595f4090214b2159fcddcf 100644
--- a/services/service_manager/public/cpp/lib/service_context.cc
+++ b/services/service_manager/public/cpp/lib/service_context.cc
@@ -79,8 +79,9 @@ void ServiceContext::DestroyService() {
void ServiceContext::OnStart(const ServiceInfo& info,
const OnStartCallback& callback) {
local_info_ = info;
- callback.Run(std::move(pending_connector_request_),
- mojo::GetProxy(&service_control_, binding_.associated_group()));
+ callback.Run(
+ std::move(pending_connector_request_),
+ mojo::MakeRequest(&service_control_, binding_.associated_group()));
service_->set_context(this);
service_->OnStart();
« no previous file with comments | « services/service_manager/public/cpp/lib/interface_provider.cc ('k') | services/service_manager/service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698