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

Unified Diff: mojo/services/view_manager/root_node_manager.cc

Issue 380413003: Mojo: Use InterfaceFactory<Interface> for service registration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix message loop destruction order Created 6 years, 5 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: mojo/services/view_manager/root_node_manager.cc
diff --git a/mojo/services/view_manager/root_node_manager.cc b/mojo/services/view_manager/root_node_manager.cc
index fe608e822fe27411cc13b40d83343c9a4f01060e..99f8ccf866077d55c45d05bb6cef00e6c013a5fc 100644
--- a/mojo/services/view_manager/root_node_manager.cc
+++ b/mojo/services/view_manager/root_node_manager.cc
@@ -261,7 +261,7 @@ ViewManagerServiceImpl* RootNodeManager::EmbedImpl(
creator_url,
url.To<std::string>(),
root_id);
- BindToPipe(connection, pipe.handle0.Pass());
+ WeakBindToPipe(connection, pipe.handle0.Pass());
connections_created_by_connect_.insert(connection);
OnConnectionMessagedClient(connection->id());
return connection;

Powered by Google App Engine
This is Rietveld 408576698