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@23028 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
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 AddProcessingInstruction(const nsIParserNode& aNode);
|
||||
NS_IMETHOD AddComment(const nsIParserNode& aNode);
|
||||
@@ -578,7 +578,7 @@ nsHTMLNullSink::SetParser(nsIParser* aParser)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLNullSink::NotifyError(nsresult aErrorResult)
|
||||
nsHTMLNullSink::NotifyError(const nsParserError* aError)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user