| Index: mojo/public/cpp/application/connect.h
|
| diff --git a/mojo/public/cpp/application/connect.h b/mojo/public/cpp/application/connect.h
|
| index 06b79e7e4e0cf0e085024bc759774d1b848d73ad..4b6e97e9255ed689f91d95cb36501658f9c78e81 100644
|
| --- a/mojo/public/cpp/application/connect.h
|
| +++ b/mojo/public/cpp/application/connect.h
|
| @@ -26,8 +26,8 @@ inline void ConnectToService(Shell* shell,
|
| const std::string& application_url,
|
| InterfacePtr<Interface>* ptr) {
|
| ServiceProviderPtr service_provider;
|
| - shell->ConnectToApplication(application_url,
|
| - GetProxy(&service_provider), nullptr);
|
| + shell->ConnectToApplication(application_url, GetProxy(&service_provider),
|
| + InterfaceHandle<ServiceProvider>());
|
| ConnectToService(service_provider.get(), ptr);
|
| }
|
|
|
| @@ -38,7 +38,8 @@ inline void ConnectToService(ApplicationConnector* application_connector,
|
| InterfacePtr<Interface>* ptr) {
|
| ServiceProviderPtr service_provider;
|
| application_connector->ConnectToApplication(
|
| - application_url, GetProxy(&service_provider), nullptr);
|
| + application_url, GetProxy(&service_provider),
|
| + InterfaceHandle<ServiceProvider>());
|
| ConnectToService(service_provider.get(), ptr);
|
| }
|
|
|
|
|