Moidifed to match the API change in nsHTMLContentSinkStream.

This commit is contained in:
kostello%netscape.com 1999-05-03 18:42:53 +00:00
Родитель 98af52ae10
Коммит e1c62f1396
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -292,9 +292,9 @@ nsHTMLDocument::StartDocumentLoad(nsIURL *aURL,
nsAutoString charset = "ISO-8859-1"; // fallback value in case webShell return error nsAutoString charset = "ISO-8859-1"; // fallback value in case webShell return error
nsCharsetSource charsetSource = kCharsetFromDocTypeDefault; nsCharsetSource charsetSource = kCharsetFromDocTypeDefault;
#ifdef rickgdebug #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 #else
NS_PRECONDITION(nsnull != aContainer, "No content viewer container"); NS_PRECONDITION(nsnull != aContainer, "No content viewer container");
aContainer->QueryInterface(kIWebShellIID, (void**)&webShell); aContainer->QueryInterface(kIWebShellIID, (void**)&webShell);

Просмотреть файл

@ -292,9 +292,9 @@ nsHTMLDocument::StartDocumentLoad(nsIURL *aURL,
nsAutoString charset = "ISO-8859-1"; // fallback value in case webShell return error nsAutoString charset = "ISO-8859-1"; // fallback value in case webShell return error
nsCharsetSource charsetSource = kCharsetFromDocTypeDefault; nsCharsetSource charsetSource = kCharsetFromDocTypeDefault;
#ifdef rickgdebug #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 #else
NS_PRECONDITION(nsnull != aContainer, "No content viewer container"); NS_PRECONDITION(nsnull != aContainer, "No content viewer container");
aContainer->QueryInterface(kIWebShellIID, (void**)&webShell); aContainer->QueryInterface(kIWebShellIID, (void**)&webShell);