Index: mojo/runner/native_runner_unittest.cc |
diff --git a/mojo/runner/native_runner_unittest.cc b/mojo/runner/native_runner_unittest.cc |
index e4a636d7b246bed0f616945dfca3de61ab61e429..bfb77b840b4e5954758129c0a4fb944455c0a673 100644 |
--- a/mojo/runner/native_runner_unittest.cc |
+++ b/mojo/runner/native_runner_unittest.cc |
@@ -94,14 +94,10 @@ |
ServiceProviderPtr service_provider; |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From(url.spec()); |
- |
- scoped_ptr<shell::ConnectToApplicationParams> params( |
- new shell::ConnectToApplicationParams); |
- params->SetURLInfo(request.Pass()); |
- params->set_services(services.Pass()); |
- params->set_exposed_services(service_provider.Pass()); |
- params->set_filter(shell::GetPermissiveCapabilityFilter()); |
- context_->application_manager()->ConnectToApplication(params.Pass()); |
+ context_->application_manager()->ConnectToApplication( |
+ nullptr, request.Pass(), std::string(), services.Pass(), |
+ service_provider.Pass(), shell::GetPermissiveCapabilityFilter(), |
+ base::Closure(), shell::EmptyConnectCallback()); |
EXPECT_FALSE(state_.runner_was_created); |
EXPECT_FALSE(state_.runner_was_started); |
EXPECT_FALSE(state_.runner_was_destroyed); |