| Index: trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager.cc
|
| ===================================================================
|
| --- trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager.cc (revision 270124)
|
| +++ trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager.cc (working copy)
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h"
|
| #include "mojo/services/public/cpp/view_manager/lib/view_tree_node_private.h"
|
| -#include "mojo/services/public/cpp/view_manager/view.h"
|
|
|
| namespace mojo {
|
| namespace services {
|
| @@ -23,13 +22,6 @@
|
| else
|
| nodes_.erase(it);
|
| }
|
| - while (!views_.empty()) {
|
| - IdToViewMap::iterator it = views_.begin();
|
| - if (synchronizer_->OwnsView(it->second->id()))
|
| - it->second->Destroy();
|
| - else
|
| - views_.erase(it);
|
| - }
|
| }
|
|
|
| void ViewManager::Init() {
|
| @@ -41,11 +33,6 @@
|
| return it != nodes_.end() ? it->second : NULL;
|
| }
|
|
|
| -View* ViewManager::GetViewById(TransportViewId id) {
|
| - IdToViewMap::const_iterator it = views_.find(id);
|
| - return it != views_.end() ? it->second : NULL;
|
| -}
|
| -
|
| } // namespace view_manager
|
| } // namespace services
|
| } // namespace mojo
|
|
|