Index: mojo/runner/native_runner_unittest.cc |
diff --git a/mojo/runner/native_runner_unittest.cc b/mojo/runner/native_runner_unittest.cc |
index bfb77b840b4e5954758129c0a4fb944455c0a673..e4a636d7b246bed0f616945dfca3de61ab61e429 100644 |
--- a/mojo/runner/native_runner_unittest.cc |
+++ b/mojo/runner/native_runner_unittest.cc |
@@ -94,10 +94,14 @@ TEST_F(NativeApplicationLoaderTest, DoesNotExist) { |
ServiceProviderPtr service_provider; |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From(url.spec()); |
- context_->application_manager()->ConnectToApplication( |
- nullptr, request.Pass(), std::string(), services.Pass(), |
- service_provider.Pass(), shell::GetPermissiveCapabilityFilter(), |
- base::Closure(), shell::EmptyConnectCallback()); |
+ |
+ 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()); |
EXPECT_FALSE(state_.runner_was_created); |
EXPECT_FALSE(state_.runner_was_started); |
EXPECT_FALSE(state_.runner_was_destroyed); |