Index: mojo/shell/capability_filter_unittest.cc |
diff --git a/mojo/shell/capability_filter_unittest.cc b/mojo/shell/capability_filter_unittest.cc |
index 1dbc35b168a3e31608f9647291ea154477fe35b6..0c33a8fbadc076c5c94cc4e40aa14a79e6e05bbf 100644 |
--- a/mojo/shell/capability_filter_unittest.cc |
+++ b/mojo/shell/capability_filter_unittest.cc |
@@ -343,15 +343,10 @@ |
AddService<Validator>(validator_); |
URLRequestPtr request(URLRequest::New()); |
request->url = String::From(url); |
- |
- scoped_ptr<ConnectToApplicationParams> params( |
- new ConnectToApplicationParams); |
- params->SetURLInfo(request.Pass()); |
- params->set_services(GetProxy(&services)); |
- params->set_exposed_services(exposed_services.Pass()); |
- params->set_filter(filter); |
- params->set_on_application_end(base::MessageLoop::QuitWhenIdleClosure()); |
- application_manager_->ConnectToApplication(params.Pass()); |
+ application_manager_->ConnectToApplication( |
+ nullptr, request.Pass(), std::string(), GetProxy(&services), |
+ exposed_services.Pass(), filter, |
+ base::MessageLoop::QuitWhenIdleClosure(), EmptyConnectCallback()); |
} |
void InitValidator(const std::set<std::string>& expectations) { |