Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific booleans. This in order to fix: 11249: Add flag to write only the body in html output.
This commit is contained in:
@@ -469,7 +469,7 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
|
||||
|
||||
#ifdef rickgdebug
|
||||
nsString outString; // added out. Redirect to stdout if desired -- gpk 04/01/99
|
||||
rv = NS_New_HTML_ContentSinkStream(&sink,&outString);
|
||||
rv = NS_New_HTML_ContentSinkStream(&sink,&outString,0);
|
||||
#else
|
||||
NS_PRECONDITION(nsnull != aContainer, "No content viewer container");
|
||||
aContainer->QueryInterface(kIWebShellIID, (void**)&webShell);
|
||||
|
||||
Reference in New Issue
Block a user