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

Unified Diff: content/renderer/mus/render_widget_window_tree_client_factory.cc

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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
« no previous file with comments | « content/public/test/test_mojo_app.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mus/render_widget_window_tree_client_factory.cc
diff --git a/content/renderer/mus/render_widget_window_tree_client_factory.cc b/content/renderer/mus/render_widget_window_tree_client_factory.cc
index acaf5c2fea202b7a36413cc1941d5a83b466840b..3df64afd9308ca0fea225820e934fae64b9124d2 100644
--- a/content/renderer/mus/render_widget_window_tree_client_factory.cc
+++ b/content/renderer/mus/render_widget_window_tree_client_factory.cc
@@ -50,9 +50,10 @@ class RenderWidgetWindowTreeClientFactoryImpl
private:
// ConnectionFilter implementation:
- bool OnConnect(shell::Connection* connection,
+ bool OnConnect(const shell::Identity& remote_identity,
+ shell::InterfaceRegistry* registry,
shell::Connector* connector) override {
- connection->AddInterface<mojom::RenderWidgetWindowTreeClientFactory>(this);
+ registry->AddInterface<mojom::RenderWidgetWindowTreeClientFactory>(this);
return true;
}
« no previous file with comments | « content/public/test/test_mojo_app.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698