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

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

Issue 415793003: Changes access policy for embedded nodes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup 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 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))
« no previous file with comments | « mojo/services/view_manager/root_node_manager.h ('k') | mojo/services/view_manager/view_manager_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698