Chromium Code Reviews

Unified Diff: chrome/browser/task_manager/providers/child_process_task.cc

Issue 2766263009: Convert content ConnectionFilter to OnBindInterface (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/task_manager/providers/child_process_task.cc
diff --git a/chrome/browser/task_manager/providers/child_process_task.cc b/chrome/browser/task_manager/providers/child_process_task.cc
index e5f7fa143f99bdd28a55428632bf482d97b852af..1161fcba0a26cee79eae02fc5abb190e147bcadc 100644
--- a/chrome/browser/task_manager/providers/child_process_task.cc
+++ b/chrome/browser/task_manager/providers/child_process_task.cc
@@ -124,10 +124,7 @@ void ConnectResourceReporterOnIOThread(
if (!host)
return;
- service_manager::InterfaceProvider* interfaces =
- host->GetHost()->GetRemoteInterfaces();
- if (interfaces)
- interfaces->GetInterface(std::move(resource_reporter));
+ BindInterface(host->GetHost(), std::move(resource_reporter));
}
// Creates the Mojo service wrapper that will be used to sample the V8 memory

Powered by Google App Engine