Index: content/browser/mojo/mojo_shell_client_host.cc |
diff --git a/content/browser/mojo/mojo_shell_client_host.cc b/content/browser/mojo/mojo_shell_client_host.cc |
index e3f962f262c859a067c9bce529bda4f9b90223b6..1bc85b51f168de0d8bc05c6909e59fe1d5f3771c 100644 |
--- a/content/browser/mojo/mojo_shell_client_host.cc |
+++ b/content/browser/mojo/mojo_shell_client_host.cc |
@@ -72,8 +72,7 @@ void RegisterChildWithExternalShell(int child_process_id, |
base::ThreadTaskRunnerHandle::Get())); |
mojo::shell::mojom::ApplicationManagerPtr application_manager; |
MojoShellConnection::Get()->GetApplication()->ConnectToService( |
- mojo::URLRequest::From(std::string("mojo:shell")), |
- &application_manager); |
+ "mojo:shell", &application_manager); |
// The content of the URL/qualifier we pass is actually meaningless, it's only |
// important that they're unique per process. |
// TODO(beng): We need to specify a restrictive CapabilityFilter here that |