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 e25ae27ff8b47baf3fb9c9e7bad1c29d6b0623d7..ecafe4e54aff75e39d0303cfd6e1dc3d2e1e4c10 100644 |
--- a/mojo/services/view_manager/root_node_manager.cc |
+++ b/mojo/services/view_manager/root_node_manager.cc |
@@ -142,8 +142,8 @@ ViewManagerServiceImpl* RootNodeManager::GetConnectionByCreator( |
return NULL; |
} |
-ViewManagerServiceImpl* RootNodeManager::GetConnectionWithRoot( |
- const NodeId& id) { |
+const ViewManagerServiceImpl* RootNodeManager::GetConnectionWithRoot( |
+ const NodeId& id) const { |
for (ConnectionMap::const_iterator i = connection_map_.begin(); |
i != connection_map_.end(); ++i) { |
if (i->second->HasRoot(id)) |