summaryrefslogtreecommitdiffstats
path: root/mojo/fetcher/about_fetcher_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/fetcher/about_fetcher_unittest.cc')
-rw-r--r--mojo/fetcher/about_fetcher_unittest.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/mojo/fetcher/about_fetcher_unittest.cc b/mojo/fetcher/about_fetcher_unittest.cc
index 27c8e6a..b69d349 100644
--- a/mojo/fetcher/about_fetcher_unittest.cc
+++ b/mojo/fetcher/about_fetcher_unittest.cc
@@ -112,12 +112,10 @@ class AboutFetcherTest : public testing::Test {
URLRequestPtr request(URLRequest::New());
request->url = url;
-
- scoped_ptr<shell::ConnectToApplicationParams> params(
- new shell::ConnectToApplicationParams);
- params->SetURLInfo(request.Pass());
- params->set_services(service_provider_request.Pass());
- application_manager_->ConnectToApplication(params.Pass());
+ application_manager_->ConnectToApplication(
+ nullptr, request.Pass(), std::string(), service_provider_request.Pass(),
+ nullptr, shell::CapabilityFilter(), base::Closure(),
+ shell::EmptyConnectCallback());
run_loop.Run();
}