зеркало из https://github.com/mozilla/pjs.git
Moidifed to match the API change in nsHTMLContentSinkStream.
This commit is contained in:
Родитель
98af52ae10
Коммит
e1c62f1396
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче