Chromium Code Reviews| 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 91bc26571c44f8dc9cd8c8f63131b254d6193c91..b649188f529c7315ff2e8459b1ffd0d2c7969be9 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 |
| @@ -34,7 +34,9 @@ ViewManagerClientFactory::WeakBindViewManagerToPipe( |
| void ViewManagerClientFactory::Create( |
| ApplicationConnection* connection, |
| InterfaceRequest<ViewManagerClient> request) { |
| - BindToRequest(new ViewManagerClientImpl(delegate_, shell_), &request); |
| + ViewManagerClientImpl* impl = |
| + BindToRequest(new ViewManagerClientImpl(delegate_, shell_), &request); |
| + impl->OnConnectionEstablished(); |
|
DaveMoore
2014/11/11 17:18:45
Unfortunate that this now has to be done manually.
jamesr
2014/11/11 17:47:49
This is due to the unfortunate fact that BindToReq
jamesr
2014/11/11 18:06:05
See https://codereview.chromium.org/713313002. Th
|
| } |
| } // namespace mojo |