diff --git a/htmlparser/src/nsHTMLParser.h b/htmlparser/src/nsHTMLParser.h
index 2362b86cfe0..b48caf9bcb9 100644
--- a/htmlparser/src/nsHTMLParser.h
+++ b/htmlparser/src/nsHTMLParser.h
@@ -250,7 +250,7 @@ friend class CTokenHandler;
NS_IMETHOD OnProgress(PRInt32 Progress, PRInt32 ProgressMax, const char *msg);
NS_IMETHOD OnStartBinding(void);
NS_IMETHOD OnDataAvailable(nsIInputStream *pIStream, PRInt32 length);
- NS_IMETHOD OnStopBinding(void);
+ NS_IMETHOD OnStopBinding(PRInt32 status, const char *msg);
protected:
diff --git a/parser/htmlparser/src/nsHTMLParser.h b/parser/htmlparser/src/nsHTMLParser.h
index 2362b86cfe0..b48caf9bcb9 100644
--- a/parser/htmlparser/src/nsHTMLParser.h
+++ b/parser/htmlparser/src/nsHTMLParser.h
@@ -250,7 +250,7 @@ friend class CTokenHandler;
NS_IMETHOD OnProgress(PRInt32 Progress, PRInt32 ProgressMax, const char *msg);
NS_IMETHOD OnStartBinding(void);
NS_IMETHOD OnDataAvailable(nsIInputStream *pIStream, PRInt32 length);
- NS_IMETHOD OnStopBinding(void);
+ NS_IMETHOD OnStopBinding(PRInt32 status, const char *msg);
protected: