зеркало из https://github.com/mozilla/pjs.git
Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.
This commit is contained in:
Родитель
61aa27804d
Коммит
b55ec79761
|
@ -567,7 +567,7 @@ nsHTMLToTXTSinkStream::SetParser(nsIParser* aParser) {
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLToTXTSinkStream::NotifyError(nsresult aErrorResult)
|
||||
nsHTMLToTXTSinkStream::NotifyError(const nsParserError* aError)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -567,7 +567,7 @@ nsHTMLToTXTSinkStream::SetParser(nsIParser* aParser) {
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLToTXTSinkStream::NotifyError(nsresult aErrorResult)
|
||||
nsHTMLToTXTSinkStream::NotifyError(const nsParserError* aError)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче