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

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

Issue 2696233002: Mojo C++ bindings: remove some usage of AssociatedGroup from user code. (Closed)
Patch Set: . Created 3 years, 10 months 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
« no previous file with comments | « mojo/public/cpp/bindings/tests/sync_method_unittest.cc ('k') | services/ui/ws/frame_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1726027b726df7bb29f7c5cd7356c456f16a76ad..f45202e56b2324dd81f75d51d817a88c810a7fff 100644
--- a/services/service_manager/public/cpp/lib/service_context.cc
+++ b/services/service_manager/public/cpp/lib/service_context.cc
@@ -81,9 +81,8 @@ void ServiceContext::DestroyService() {
void ServiceContext::OnStart(const ServiceInfo& info,
const OnStartCallback& callback) {
local_info_ = info;
- callback.Run(
- std::move(pending_connector_request_),
- mojo::MakeRequest(&service_control_, binding_.associated_group()));
+ callback.Run(std::move(pending_connector_request_),
+ mojo::MakeRequest(&service_control_));
service_->set_context(this);
service_->OnStart();
« no previous file with comments | « mojo/public/cpp/bindings/tests/sync_method_unittest.cc ('k') | services/ui/ws/frame_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698