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

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
This is Rietveld 408576698