Index: trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_private.cc |
=================================================================== |
--- trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_private.cc (revision 270124) |
+++ trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_private.cc (working copy) |
@@ -13,7 +13,6 @@ |
ViewManagerPrivate::~ViewManagerPrivate() {} |
void ViewManagerPrivate::AddNode(TransportNodeId node_id, ViewTreeNode* node) { |
- DCHECK(!manager_->nodes_[node_id]); |
manager_->nodes_[node_id] = node; |
} |
@@ -23,17 +22,6 @@ |
manager_->nodes_.erase(it); |
} |
-void ViewManagerPrivate::AddView(TransportViewId view_id, View* view) { |
- DCHECK(!manager_->views_[view_id]); |
- manager_->views_[view_id] = view; |
-} |
- |
-void ViewManagerPrivate::RemoveView(TransportViewId view_id) { |
- ViewManager::IdToViewMap::iterator it = manager_->views_.find(view_id); |
- if (it != manager_->views_.end()) |
- manager_->views_.erase(it); |
-} |
- |
} // namespace view_manager |
} // namespace services |
} // namespace mojo |