Moidifed to match the API change in nsHTMLContentSinkStream.

git-svn-id: svn://10.0.0.236/trunk@29964 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kostello%netscape.com
1999-05-03 18:42:53 +00:00
parent 472d53575b
commit 6ec275403f
2 changed files with 4 additions and 4 deletions

View File

@@ -292,9 +292,9 @@ nsHTMLDocument::StartDocumentLoad(nsIURL *aURL,
nsAutoString charset = "ISO-8859-1"; // fallback value in case webShell return error
nsCharsetSource charsetSource = kCharsetFromDocTypeDefault;
#ifdef rickgdebug
rv = NS_New_HTML_ContentSinkStream(&sink);
nsString outString; // added out. Redirect to stdout if desired -- gpk 04/01/99
rv = NS_New_HTML_ContentSinkStream(&sink,&outString);
#else
NS_PRECONDITION(nsnull != aContainer, "No content viewer container");
aContainer->QueryInterface(kIWebShellIID, (void**)&webShell);