diff --git a/mozilla/htmlparser/robot/nsRobotSink.cpp b/mozilla/htmlparser/robot/nsRobotSink.cpp index 5e73fc466e6..3828645417d 100644 --- a/mozilla/htmlparser/robot/nsRobotSink.cpp +++ b/mozilla/htmlparser/robot/nsRobotSink.cpp @@ -52,7 +52,6 @@ public: NS_DECL_ISUPPORTS // nsIHTMLContentSink - NS_IMETHOD PushMark(); NS_IMETHOD SetTitle(const nsString& aValue); NS_IMETHOD OpenHTML(const nsIParserNode& aNode); NS_IMETHOD CloseHTML(const nsIParserNode& aNode); @@ -134,11 +133,6 @@ NS_IMETHODIMP RobotSink::QueryInterface(REFNSIID aIID, void** aInstancePtr) return NS_NOINTERFACE; } -NS_IMETHODIMP RobotSink::PushMark() -{ - return NS_OK; -} - NS_IMETHODIMP RobotSink::SetTitle(const nsString& aValue) { return NS_OK; diff --git a/mozilla/htmlparser/src/nsHTMLContentSinkStream.cpp b/mozilla/htmlparser/src/nsHTMLContentSinkStream.cpp index 8eff71f860b..4a624e1ed4d 100644 --- a/mozilla/htmlparser/src/nsHTMLContentSinkStream.cpp +++ b/mozilla/htmlparser/src/nsHTMLContentSinkStream.cpp @@ -284,13 +284,6 @@ void WritePair(eHTMLTags aTag,const nsString& theContent,int tab,ostream& aStrea CloseTag(titleStr,0,aStream); } -NS_IMETHODIMP -nsHTMLContentSinkStream::PushMark() -{ - // XXX We need to defer our output when this occurs - return NS_OK; -} - /** * This method gets called by the parser when it encounters * a title tag and wants to set the document title in the sink. diff --git a/mozilla/htmlparser/src/nsHTMLContentSinkStream.h b/mozilla/htmlparser/src/nsHTMLContentSinkStream.h index eb22784cbaa..cd6dbcef697 100644 --- a/mozilla/htmlparser/src/nsHTMLContentSinkStream.h +++ b/mozilla/htmlparser/src/nsHTMLContentSinkStream.h @@ -97,7 +97,6 @@ class nsHTMLContentSinkStream : public nsIHTMLContentSink { * The following methods are inherited from nsIHTMLContentSink. * Please see that file for details. *******************************************************************/ - NS_IMETHOD PushMark(); NS_IMETHOD SetTitle(const nsString& aValue); NS_IMETHOD OpenHTML(const nsIParserNode& aNode); NS_IMETHOD CloseHTML(const nsIParserNode& aNode); diff --git a/mozilla/htmlparser/src/nsHTMLNullSink.cpp b/mozilla/htmlparser/src/nsHTMLNullSink.cpp index fe39a301a31..f04ae9aed98 100644 --- a/mozilla/htmlparser/src/nsHTMLNullSink.cpp +++ b/mozilla/htmlparser/src/nsHTMLNullSink.cpp @@ -48,7 +48,6 @@ public: NS_IMETHOD AddLeaf(const nsIParserNode& aNode); // nsIHTMLContentSink - NS_IMETHOD PushMark(); NS_IMETHOD SetTitle(const nsString& aValue); NS_IMETHOD OpenHTML(const nsIParserNode& aNode); NS_IMETHOD CloseHTML(const nsIParserNode& aNode); @@ -170,13 +169,6 @@ nsHTMLNullSink::QueryInterface(const nsIID& aIID, void** aInstancePtr) return NS_OK; } -NS_IMETHODIMP -nsHTMLNullSink::PushMark() -{ - // XXX We need to defer our output when this occurs - return NS_OK; -} - /** * This method gets called by the parser when a * tag has been consumed. diff --git a/mozilla/htmlparser/src/nsIHTMLContentSink.h b/mozilla/htmlparser/src/nsIHTMLContentSink.h index b4bd2690f41..7317fe927fe 100644 --- a/mozilla/htmlparser/src/nsIHTMLContentSink.h +++ b/mozilla/htmlparser/src/nsIHTMLContentSink.h @@ -71,12 +71,6 @@ class nsIHTMLContentSink : public nsIContentSink { public: - /** - * This method is called to inform the content sink to push a - * new mark. - */ - NS_IMETHOD PushMark(void) = 0; - /** * This method gets called by the parser when it encounters * a title tag and wants to set the document title in the sink. diff --git a/mozilla/htmlparser/src/nsLoggingSink.cpp b/mozilla/htmlparser/src/nsLoggingSink.cpp index 7cd02729a9e..d8085068ecb 100644 --- a/mozilla/htmlparser/src/nsLoggingSink.cpp +++ b/mozilla/htmlparser/src/nsLoggingSink.cpp @@ -81,7 +81,6 @@ public: NS_IMETHOD AddLeaf(const nsIParserNode& aNode); // nsIHTMLContentSink - NS_IMETHOD PushMark(); NS_IMETHOD SetTitle(const nsString& aValue); NS_IMETHOD OpenHTML(const nsIParserNode& aNode); NS_IMETHOD CloseHTML(const nsIParserNode& aNode); @@ -240,12 +239,6 @@ nsLoggingSink::AddLeaf(const nsIParserNode& aNode) return LeafNode(aNode); } -NS_IMETHODIMP -nsLoggingSink::PushMark() -{ - return NS_OK; -} - NS_IMETHODIMP nsLoggingSink::SetTitle(const nsString& aValue) { diff --git a/mozilla/parser/htmlparser/robot/nsRobotSink.cpp b/mozilla/parser/htmlparser/robot/nsRobotSink.cpp index 5e73fc466e6..3828645417d 100644 --- a/mozilla/parser/htmlparser/robot/nsRobotSink.cpp +++ b/mozilla/parser/htmlparser/robot/nsRobotSink.cpp @@ -52,7 +52,6 @@ public: NS_DECL_ISUPPORTS // nsIHTMLContentSink - NS_IMETHOD PushMark(); NS_IMETHOD SetTitle(const nsString& aValue); NS_IMETHOD OpenHTML(const nsIParserNode& aNode); NS_IMETHOD CloseHTML(const nsIParserNode& aNode); @@ -134,11 +133,6 @@ NS_IMETHODIMP RobotSink::QueryInterface(REFNSIID aIID, void** aInstancePtr) return NS_NOINTERFACE; } -NS_IMETHODIMP RobotSink::PushMark() -{ - return NS_OK; -} - NS_IMETHODIMP RobotSink::SetTitle(const nsString& aValue) { return NS_OK; diff --git a/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.cpp b/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.cpp index 8eff71f860b..4a624e1ed4d 100644 --- a/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.cpp +++ b/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.cpp @@ -284,13 +284,6 @@ void WritePair(eHTMLTags aTag,const nsString& theContent,int tab,ostream& aStrea CloseTag(titleStr,0,aStream); } -NS_IMETHODIMP -nsHTMLContentSinkStream::PushMark() -{ - // XXX We need to defer our output when this occurs - return NS_OK; -} - /** * This method gets called by the parser when it encounters * a title tag and wants to set the document title in the sink. diff --git a/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.h b/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.h index eb22784cbaa..cd6dbcef697 100644 --- a/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.h +++ b/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.h @@ -97,7 +97,6 @@ class nsHTMLContentSinkStream : public nsIHTMLContentSink { * The following methods are inherited from nsIHTMLContentSink. * Please see that file for details. *******************************************************************/ - NS_IMETHOD PushMark(); NS_IMETHOD SetTitle(const nsString& aValue); NS_IMETHOD OpenHTML(const nsIParserNode& aNode); NS_IMETHOD CloseHTML(const nsIParserNode& aNode); diff --git a/mozilla/parser/htmlparser/src/nsHTMLNullSink.cpp b/mozilla/parser/htmlparser/src/nsHTMLNullSink.cpp index fe39a301a31..f04ae9aed98 100644 --- a/mozilla/parser/htmlparser/src/nsHTMLNullSink.cpp +++ b/mozilla/parser/htmlparser/src/nsHTMLNullSink.cpp @@ -48,7 +48,6 @@ public: NS_IMETHOD AddLeaf(const nsIParserNode& aNode); // nsIHTMLContentSink - NS_IMETHOD PushMark(); NS_IMETHOD SetTitle(const nsString& aValue); NS_IMETHOD OpenHTML(const nsIParserNode& aNode); NS_IMETHOD CloseHTML(const nsIParserNode& aNode); @@ -170,13 +169,6 @@ nsHTMLNullSink::QueryInterface(const nsIID& aIID, void** aInstancePtr) return NS_OK; } -NS_IMETHODIMP -nsHTMLNullSink::PushMark() -{ - // XXX We need to defer our output when this occurs - return NS_OK; -} - /** * This method gets called by the parser when a * tag has been consumed. diff --git a/mozilla/parser/htmlparser/src/nsIHTMLContentSink.h b/mozilla/parser/htmlparser/src/nsIHTMLContentSink.h index b4bd2690f41..7317fe927fe 100644 --- a/mozilla/parser/htmlparser/src/nsIHTMLContentSink.h +++ b/mozilla/parser/htmlparser/src/nsIHTMLContentSink.h @@ -71,12 +71,6 @@ class nsIHTMLContentSink : public nsIContentSink { public: - /** - * This method is called to inform the content sink to push a - * new mark. - */ - NS_IMETHOD PushMark(void) = 0; - /** * This method gets called by the parser when it encounters * a title tag and wants to set the document title in the sink. diff --git a/mozilla/parser/htmlparser/src/nsLoggingSink.cpp b/mozilla/parser/htmlparser/src/nsLoggingSink.cpp index 7cd02729a9e..d8085068ecb 100644 --- a/mozilla/parser/htmlparser/src/nsLoggingSink.cpp +++ b/mozilla/parser/htmlparser/src/nsLoggingSink.cpp @@ -81,7 +81,6 @@ public: NS_IMETHOD AddLeaf(const nsIParserNode& aNode); // nsIHTMLContentSink - NS_IMETHOD PushMark(); NS_IMETHOD SetTitle(const nsString& aValue); NS_IMETHOD OpenHTML(const nsIParserNode& aNode); NS_IMETHOD CloseHTML(const nsIParserNode& aNode); @@ -240,12 +239,6 @@ nsLoggingSink::AddLeaf(const nsIParserNode& aNode) return LeafNode(aNode); } -NS_IMETHODIMP -nsLoggingSink::PushMark() -{ - return NS_OK; -} - NS_IMETHODIMP nsLoggingSink::SetTitle(const nsString& aValue) {