Removed the container pointer from the nsConnectionInfo struct. The container is held by the nsIURL...

git-svn-id: svn://10.0.0.236/trunk@13629 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
1998-10-28 21:40:51 +00:00
parent d99af8473b
commit 44d663eb20
4 changed files with 34 additions and 44 deletions

View File

@@ -287,13 +287,6 @@ nsresult nsNetlibService::OpenStream(nsIURL *aUrl,
}
NS_ADDREF(pConn);
/* We've got a nsConnectionInfo(), now hook it up
* to the nsISupports of the nsIContentViewerContainer
*/
pConn->pContainer = aUrl->GetContainer();
NS_VERIFY_THREADSAFE_INTERFACE(pConn->pContainer);
/*
* XXX: Rewrite the resource: URL into a file: URL
*/
@@ -405,12 +398,6 @@ nsresult nsNetlibService::OpenBlockingStream(nsIURL *aUrl,
}
NS_ADDREF(pConn);
/* We've got a nsConnectionInfo(), now hook it up
* to the nsISupports of the nsIContentViewerContainer
*/
pConn->pContainer = aUrl->GetContainer();
NS_VERIFY_THREADSAFE_INTERFACE(pConn->pContainer);
/*
* XXX: Rewrite the resource: URL into a file: URL
*/