Removed obsolete method nsIDocumentLoader::LoadOpenedDocument.

This commit is contained in:
rpotts@netscape.com
1999-12-29 05:10:21 +00:00
parent 6b89a62a76
commit 7316864ac3
5 changed files with 14 additions and 72 deletions

View File

@@ -1730,19 +1730,11 @@ nsWebShell::DoContent(const char * aContentType,
// own load group!!! So the request would get canceled out from under us...
// after retargeting we may be able to safely call DoLoadURL.
DoLoadURL(aUri, strCommand, nsnull, nsIChannel::LOAD_NORMAL, 0, nsnull, PR_FALSE);
#if 0
return mDocLoader->LoadOpenedDocument(aOpenedChannel,
strCommand,
(nsIWebShell*)this,
nsnull,
nsnull,
aContentHandler);
#else
return CreateViewer(aOpenedChannel,
aContentType,
strCommand,
aContentHandler);
#endif
}
static NS_DEFINE_IID(kIDocumentLoaderFactoryIID, NS_IDOCUMENTLOADERFACTORY_IID);