Index: mojo/services/public/cpp/view_manager/lib/view_manager_client_factory.cc |
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_client_factory.cc b/mojo/services/public/cpp/view_manager/lib/view_manager_client_factory.cc |
index 84fa87db15ed52e3c297c706fd4ef5e07a201f5e..91bc26571c44f8dc9cd8c8f63131b254d6193c91 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_client_factory.cc |
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_client_factory.cc |
@@ -27,7 +27,6 @@ |
scoped_ptr<ViewManagerClientImpl> client( |
new ViewManagerClientImpl(delegate, shell)); |
WeakBindToPipe(client.get(), handle.Pass()); |
- client->OnConnectionEstablished(); |
return client.Pass(); |
} |
@@ -35,9 +34,7 @@ |
void ViewManagerClientFactory::Create( |
ApplicationConnection* connection, |
InterfaceRequest<ViewManagerClient> request) { |
- ViewManagerClientImpl* impl = |
- BindToRequest(new ViewManagerClientImpl(delegate_, shell_), &request); |
- impl->OnConnectionEstablished(); |
+ BindToRequest(new ViewManagerClientImpl(delegate_, shell_), &request); |
} |
} // namespace mojo |