Index: mojo/shell/tests/application_manager_unittest.cc |
diff --git a/mojo/shell/tests/application_manager_unittest.cc b/mojo/shell/tests/application_manager_unittest.cc |
index ac4133d9614d879401e6107be9a589458f94225d..b9d151a34799183453cd21abf384c9484025ced6 100644 |
--- a/mojo/shell/tests/application_manager_unittest.cc |
+++ b/mojo/shell/tests/application_manager_unittest.cc |
@@ -600,7 +600,10 @@ TEST_F(ApplicationManagerTest, TestEndApplicationClosure) { |
bool called = false; |
scoped_ptr<ConnectParams> params(new ConnectParams); |
- params->SetTargetURL(GURL("test:test")); |
+ params->set_source(CreateShellIdentity()); |
+ params->set_target( |
+ Identity(GURL("test:test"), "", mojom::Shell::kUserRoot, |
+ GetPermissiveCapabilityFilter())); |
application_manager_->SetInstanceQuitCallback( |
base::Bind(&QuitClosure, params->target(), &called)); |
application_manager_->Connect(std::move(params)); |