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

Unified Diff: components/web_cache/browser/web_cache_manager.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: components/web_cache/browser/web_cache_manager.cc
diff --git a/components/web_cache/browser/web_cache_manager.cc b/components/web_cache/browser/web_cache_manager.cc
index fe215e6a3c3da7fe78c6e1f13ff121b27c700c23..e94ef7f3801d0f8618f20d827c5377111f344186 100644
--- a/components/web_cache/browser/web_cache_manager.cc
+++ b/components/web_cache/browser/web_cache_manager.cc
@@ -94,7 +94,7 @@ void WebCacheManager::Add(int renderer_id) {
content::RenderProcessHost::FromID(renderer_id);
if (host) {
mojom::WebCachePtr service;
- host->GetRemoteInterfaces()->GetInterface(&service);
+ BindInterface(host, &service);
web_cache_services_[renderer_id] = std::move(service);
}
« no previous file with comments | « components/visitedlink/test/visitedlink_unittest.cc ('k') | content/browser/browser_child_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698