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

Unified Diff: services/service_manager/tests/connect/connect_test_class_app.cc

Issue 2478653003: Clean up dead InterfaceRegistry instances in ServiceContext (Closed)
Patch Set: . Created 4 years, 1 month 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 | « services/service_manager/public/cpp/service_context.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/service_manager/tests/connect/connect_test_class_app.cc
diff --git a/services/service_manager/tests/connect/connect_test_class_app.cc b/services/service_manager/tests/connect/connect_test_class_app.cc
index 069f1b14b1ab7e8c07b2f9098462df565c6f098d..8b0dba935e5b24c575f870d4fd2d7a503e42c5a5 100644
--- a/services/service_manager/tests/connect/connect_test_class_app.cc
+++ b/services/service_manager/tests/connect/connect_test_class_app.cc
@@ -40,7 +40,7 @@ class ConnectTestClassApp
registry->AddInterface<test::mojom::ConnectTestService>(this);
registry->AddInterface<test::mojom::ClassInterface>(this);
inbound_connections_.insert(registry);
- registry->SetConnectionLostClosure(
+ registry->AddConnectionLostClosure(
base::Bind(&ConnectTestClassApp::OnConnectionError,
base::Unretained(this), registry));
return true;
« no previous file with comments | « services/service_manager/public/cpp/service_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698