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

Unified Diff: chrome/browser/ui/apps/chrome_app_delegate.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/ui/apps/chrome_app_delegate.cc
diff --git a/chrome/browser/ui/apps/chrome_app_delegate.cc b/chrome/browser/ui/apps/chrome_app_delegate.cc
index 2b6963745e8f342f90cc988c42f52f829dfbce98..b726feb4757c682cea69cc7d577b6dc80381a1f1 100644
--- a/chrome/browser/ui/apps/chrome_app_delegate.cc
+++ b/chrome/browser/ui/apps/chrome_app_delegate.cc
@@ -311,7 +311,7 @@ void ChromeAppDelegate::SetWebContentsBlocked(
content::RenderFrameHost* host = web_contents->GetMainFrame();
if (host) {
extensions::mojom::AppWindowPtr app_window;
- host->GetProcess()->GetRemoteInterfaces()->GetInterface(&app_window);
+ BindInterface(host->GetProcess(), &app_window);
app_window->SetVisuallyDeemphasized(blocked);
}
}
« no previous file with comments | « chrome/browser/task_manager/providers/web_contents/renderer_task.cc ('k') | chrome/service/service_utility_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698