Index: mojo/shell/application_manager_apptest_driver.cc |
diff --git a/mojo/shell/application_manager_apptest_driver.cc b/mojo/shell/application_manager_apptest_driver.cc |
index 51766ccb6ea585632ee330e80255cc3cccd6583e..290fc32516f8eaad3e6ca489c506fdea3dce674d 100644 |
--- a/mojo/shell/application_manager_apptest_driver.cc |
+++ b/mojo/shell/application_manager_apptest_driver.cc |
@@ -43,8 +43,7 @@ class TargetApplicationDelegate : public mojo::ApplicationDelegate, |
void Initialize(mojo::ApplicationImpl* app) override { |
app_ = app; |
mojo::shell::mojom::ApplicationManagerPtr application_manager; |
- app_->ConnectToService(mojo::URLRequest::From(std::string("mojo:shell")), |
- &application_manager); |
+ app_->ConnectToService("mojo:shell", &application_manager); |
base::FilePath target_path; |
CHECK(base::PathService::Get(base::DIR_EXE, &target_path)); |