Index: mojo/public/cpp/application/lib/service_registry.cc |
diff --git a/mojo/public/cpp/application/lib/service_registry.cc b/mojo/public/cpp/application/lib/service_registry.cc |
index 3c34628cc845418e27cf0bf515d5f77ccdd6f3e0..d48f16126730c5589b8dcafd9d4163bdc86bb54d 100644 |
--- a/mojo/public/cpp/application/lib/service_registry.cc |
+++ b/mojo/public/cpp/application/lib/service_registry.cc |
@@ -48,8 +48,8 @@ const std::string& ServiceRegistry::GetRemoteApplicationURL() { |
void ServiceRegistry::ConnectToService(const String& service_name, |
ScopedMessagePipeHandle client_handle) { |
- service_connector_registry_.ConnectToService(this, service_name, |
- &client_handle); |
+ service_connector_registry_.ConnectToService(connection_context_, |
+ service_name, &client_handle); |
} |
} // namespace internal |