| 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 8d4843271aa01174faeb5e86a4db998139d8303e..c765fce6bee6d8d60f3e490e3f7ca04859e1869a 100644
|
| --- a/mojo/services/view_manager/root_node_manager.cc
|
| +++ b/mojo/services/view_manager/root_node_manager.cc
|
| @@ -200,8 +200,17 @@ ViewManagerConnection* RootNodeManager::ConnectImpl(
|
| ViewManagerConnection::Client::Name_,
|
| pipe.handle1.Pass(),
|
| String());
|
| +
|
| + std::string creator_url;
|
| + ConnectionMap::const_iterator it = connection_map_.find(creator_id);
|
| + if (it != connection_map_.end())
|
| + creator_url = it->second->url();
|
| +
|
| ViewManagerConnection* connection =
|
| - new ViewManagerConnection(this, creator_id, url.To<std::string>());
|
| + new ViewManagerConnection(this,
|
| + creator_id,
|
| + creator_url,
|
| + url.To<std::string>());
|
| connection->SetRoots(node_ids);
|
| BindToPipe(connection, pipe.handle0.Pass());
|
| connections_created_by_connect_.insert(connection);
|
|
|