Index: mojo/service_manager/service_manager.cc |
diff --git a/mojo/service_manager/service_manager.cc b/mojo/service_manager/service_manager.cc |
index 7b5be43d175bb8ef280efbaee6658b673109b9fa..92d336ca5b788694aa93a17f1d6f005b9580491b 100644 |
--- a/mojo/service_manager/service_manager.cc |
+++ b/mojo/service_manager/service_manager.cc |
@@ -117,7 +117,7 @@ void ServiceManager::ConnectToApplication(const GURL& url, |
} else { |
MessagePipe pipe; |
GetLoaderForURL(url)->LoadService(this, url, pipe.handle0.Pass()); |
- shell_impl = BindToPipe(new ShellImpl(this, url), pipe.handle1.Pass()); |
+ shell_impl = WeakBindToPipe(new ShellImpl(this, url), pipe.handle1.Pass()); |
url_to_shell_impl_[url] = shell_impl; |
} |
if (interceptor_) { |