Index: mojo/services/network/network_service_delegate.cc |
diff --git a/mojo/services/network/network_service_delegate.cc b/mojo/services/network/network_service_delegate.cc |
index 0a439642f6e77cffc4c35f4f1e674d9635ba185a..d5b90db03215de947c449fe4fef18c75f8c1d059 100644 |
--- a/mojo/services/network/network_service_delegate.cc |
+++ b/mojo/services/network/network_service_delegate.cc |
@@ -93,9 +93,7 @@ void NetworkServiceDelegate::Initialize(ApplicationImpl* app) { |
// to OpenFileSystem, the entire mojo system hangs to the point where writes |
// to stderr that previously would have printed to our console aren't. The |
// apptests are also fairly resistant to being run under gdb on android. |
- URLRequestPtr request(URLRequest::New()); |
- request->url = String::From("mojo:filesystem"); |
- app_->ConnectToService(request.Pass(), &files_); |
+ app_->ConnectToService("mojo:filesystem", &files_); |
filesystem::FileSystemClientPtr client; |
binding_.Bind(GetProxy(&client)); |