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

Unified Diff: mojo/services/public/cpp/view_manager/lib/view_manager.cc

Issue 320193002: Consolidates view_manager typedefs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: formatting Created 6 years, 6 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/public/cpp/view_manager/lib/view_manager.cc
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager.cc b/mojo/services/public/cpp/view_manager/lib/view_manager.cc
index a090b7741ccafa63f20d78fceb38acc2761dd0be..d8d24aa41fad243a73b2d4b5e0feb0c4ec1d3b7e 100644
--- a/mojo/services/public/cpp/view_manager/lib/view_manager.cc
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager.cc
@@ -41,12 +41,12 @@ void ViewManager::Create(Application* application,
application->AddService<ViewManagerSynchronizer>(delegate);
}
-ViewTreeNode* ViewManager::GetNodeById(TransportNodeId id) {
+ViewTreeNode* ViewManager::GetNodeById(Id id) {
IdToNodeMap::const_iterator it = nodes_.find(id);
return it != nodes_.end() ? it->second : NULL;
}
-View* ViewManager::GetViewById(TransportViewId id) {
+View* ViewManager::GetViewById(Id id) {
IdToViewMap::const_iterator it = views_.find(id);
return it != views_.end() ? it->second : NULL;
}
« no previous file with comments | « mojo/examples/window_manager/window_manager.cc ('k') | mojo/services/public/cpp/view_manager/lib/view_manager_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698