Index: components/resource_provider/public/cpp/resource_loader.cc |
diff --git a/components/resource_provider/public/cpp/resource_loader.cc b/components/resource_provider/public/cpp/resource_loader.cc |
index e26c9dc3721606bcb284bda304b2a5b7680e5008..3b6ea1681f8a5db3befc7e2d9ebe8bb3fcb9a8ec 100644 |
--- a/components/resource_provider/public/cpp/resource_loader.cc |
+++ b/components/resource_provider/public/cpp/resource_loader.cc |
@@ -29,10 +29,9 @@ ResourceLoader::ResourceLoader(mojo::Shell* shell, |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From("mojo:resource_provider"); |
mojo::ServiceProviderPtr resource_provider_service_provider; |
- shell->ConnectToApplication(request.Pass(), |
- GetProxy(&resource_provider_service_provider), |
- nullptr, |
- nullptr); |
+ shell->ConnectToApplication( |
+ request.Pass(), GetProxy(&resource_provider_service_provider), nullptr, |
+ nullptr, mojo::Shell::ConnectToApplicationCallback()); |
mojo::ConnectToService(resource_provider_service_provider.get(), |
&resource_provider_); |
std::vector<std::string> paths_vector(paths.begin(), paths.end()); |