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:
nisheeth@netscape.com
1999-03-06 02:01:11 +00:00
parent 0b9e043b27
commit 6b3332eb45
10 changed files with 42 additions and 20 deletions

View File

@@ -63,7 +63,7 @@ public:
NS_IMETHOD CloseFrameset(const nsIParserNode& aNode);
NS_IMETHOD OpenContainer(const nsIParserNode& aNode);
NS_IMETHOD CloseContainer(const nsIParserNode& aNode);
NS_IMETHOD NotifyError(nsresult aErrorResult);
NS_IMETHOD NotifyError(const nsParserError* aError);
NS_IMETHOD CloseTopmostContainer();
NS_IMETHOD AddLeaf(const nsIParserNode& aNode);
NS_IMETHOD AddComment(const nsIParserNode& aNode);
@@ -249,7 +249,7 @@ NS_IMETHODIMP RobotSink::AddLeaf(const nsIParserNode& aNode)
return NS_OK;
}
NS_IMETHODIMP RobotSink::NotifyError(nsresult aErrorResult)
NS_IMETHODIMP RobotSink::NotifyError(const nsParserError* aError)
{
return NS_OK;
}