Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.

git-svn-id: svn://10.0.0.236/trunk@23032 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nisheeth%netscape.com
1999-03-06 02:09:46 +00:00
parent 0127c619d0
commit b0dfaee405
4 changed files with 4 additions and 4 deletions

View File

@@ -567,7 +567,7 @@ nsHTMLToTXTSinkStream::SetParser(nsIParser* aParser) {
}
NS_IMETHODIMP
nsHTMLToTXTSinkStream::NotifyError(nsresult aErrorResult)
nsHTMLToTXTSinkStream::NotifyError(const nsParserError* aError)
{
return NS_OK;
}

View File

@@ -84,7 +84,7 @@ class nsHTMLToTXTSinkStream : public nsIHTMLContentSink {
NS_IMETHOD OpenContainer(const nsIParserNode& aNode);
NS_IMETHOD CloseContainer(const nsIParserNode& aNode);
NS_IMETHOD AddLeaf(const nsIParserNode& aNode);
NS_IMETHOD NotifyError(nsresult aErrorResult);
NS_IMETHOD NotifyError(const nsParserError* aError);
NS_IMETHOD AddComment(const nsIParserNode& aNode);
NS_IMETHOD AddProcessingInstruction(const nsIParserNode& aNode);

View File

@@ -567,7 +567,7 @@ nsHTMLToTXTSinkStream::SetParser(nsIParser* aParser) {
}
NS_IMETHODIMP
nsHTMLToTXTSinkStream::NotifyError(nsresult aErrorResult)
nsHTMLToTXTSinkStream::NotifyError(const nsParserError* aError)
{
return NS_OK;
}

View File

@@ -84,7 +84,7 @@ class nsHTMLToTXTSinkStream : public nsIHTMLContentSink {
NS_IMETHOD OpenContainer(const nsIParserNode& aNode);
NS_IMETHOD CloseContainer(const nsIParserNode& aNode);
NS_IMETHOD AddLeaf(const nsIParserNode& aNode);
NS_IMETHOD NotifyError(nsresult aErrorResult);
NS_IMETHOD NotifyError(const nsParserError* aError);
NS_IMETHOD AddComment(const nsIParserNode& aNode);
NS_IMETHOD AddProcessingInstruction(const nsIParserNode& aNode);