Index: mojo/fetcher/about_fetcher_unittest.cc |
diff --git a/mojo/fetcher/about_fetcher_unittest.cc b/mojo/fetcher/about_fetcher_unittest.cc |
index de256d7b9fbb06ae9f743f469ebca1ab45219888..27c8e6a75681b8cb0c225bd06dfeab6374224fa1 100644 |
--- a/mojo/fetcher/about_fetcher_unittest.cc |
+++ b/mojo/fetcher/about_fetcher_unittest.cc |
@@ -110,9 +110,12 @@ |
service_provider.set_connection_error_handler( |
[&run_loop]() { run_loop.Quit(); }); |
+ URLRequestPtr request(URLRequest::New()); |
+ request->url = url; |
+ |
scoped_ptr<shell::ConnectToApplicationParams> params( |
new shell::ConnectToApplicationParams); |
- params->SetTargetURL(GURL(url)); |
+ params->SetURLInfo(request.Pass()); |
params->set_services(service_provider_request.Pass()); |
application_manager_->ConnectToApplication(params.Pass()); |