Index: mojo/fetcher/about_fetcher_unittest.cc |
diff --git a/mojo/fetcher/about_fetcher_unittest.cc b/mojo/fetcher/about_fetcher_unittest.cc |
index b69d349eb2a387ccffdae470c5c84863b1d36454..27c8e6a75681b8cb0c225bd06dfeab6374224fa1 100644 |
--- a/mojo/fetcher/about_fetcher_unittest.cc |
+++ b/mojo/fetcher/about_fetcher_unittest.cc |
@@ -112,10 +112,12 @@ class AboutFetcherTest : public testing::Test { |
URLRequestPtr request(URLRequest::New()); |
request->url = url; |
- application_manager_->ConnectToApplication( |
- nullptr, request.Pass(), std::string(), service_provider_request.Pass(), |
- nullptr, shell::CapabilityFilter(), base::Closure(), |
- shell::EmptyConnectCallback()); |
+ |
+ scoped_ptr<shell::ConnectToApplicationParams> params( |
+ new shell::ConnectToApplicationParams); |
+ params->SetURLInfo(request.Pass()); |
+ params->set_services(service_provider_request.Pass()); |
+ application_manager_->ConnectToApplication(params.Pass()); |
run_loop.Run(); |
} |