Index: mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc b/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
index dbb5a5ccc62bb68499fbfe469d6a18c30bec868f..8aaec2f9181d375a7b5376eb10e3241373e83cf8 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
@@ -523,13 +523,13 @@ class SetVisibleTransaction : public ViewManagerTransaction { |
DISALLOW_COPY_AND_ASSIGN(SetVisibleTransaction); |
}; |
-ViewManagerClientImpl::ViewManagerClientImpl(ApplicationConnection* connection, |
- ViewManagerDelegate* delegate) |
+ViewManagerClientImpl::ViewManagerClientImpl(ViewManagerDelegate* delegate) |
: connected_(false), |
connection_id_(0), |
next_id_(1), |
delegate_(delegate), |
- window_manager_delegate_(NULL) {} |
+ window_manager_delegate_(NULL) { |
+} |
ViewManagerClientImpl::~ViewManagerClientImpl() { |
while (!nodes_.empty()) { |
@@ -877,15 +877,5 @@ void ViewManagerClientImpl::RemoveRoot(Node* root) { |
roots_.erase(it); |
} |
-//////////////////////////////////////////////////////////////////////////////// |
-// ViewManager, public: |
- |
-// static |
-void ViewManager::ConfigureIncomingConnection( |
- ApplicationConnection* connection, |
- ViewManagerDelegate* delegate) { |
- connection->AddService<ViewManagerClientImpl>(delegate); |
-} |
- |
} // namespace view_manager |
} // namespace mojo |