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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.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: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 3ae416c7d81feb80a93742e3d2fb71acae364cca..1267bb862ccecf6adba41175c1abe8e7eb467d1c 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -1886,7 +1886,7 @@ void RenderWidgetHostViewAura::CreateAuraWindow(ui::wm::WindowType type) {
// Connect to the renderer, pass it a WindowTreeClient interface request
// and embed that client inside our mus window.
mojom::RenderWidgetWindowTreeClientFactoryPtr factory;
- host_->GetProcess()->GetRemoteInterfaces()->GetInterface(&factory);
+ BindInterface(host_->GetProcess(), &factory);
ui::mojom::WindowTreeClientPtr window_tree_client;
factory->CreateWindowTreeClientForRenderWidget(
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/service_manager/service_manager_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698