Bug 504968 - [HTML5] "###!!! ASSERTION: QueryInterface needed" in nsHtml5Parser::FinalizeSniffing. r=hsivonen sr=mrbkap
authorBen Newman <bnewman@mozilla.com>
Thu, 20 Aug 2009 10:37:44 -0700
changeset 31770 0da8bdba8c6f5a430095e4b721b74ecde4562fcd
parent 31769 e455909e2a17bf3a60b320ecdd2d52178a0c9713
child 31771 a25339db426146a8849d697c5b38a1c869d0b3d6
push idunknown
push userunknown
push dateunknown
reviewershsivonen, mrbkap
bugs504968
milestone1.9.3a1pre
Bug 504968 - [HTML5] "###!!! ASSERTION: QueryInterface needed" in nsHtml5Parser::FinalizeSniffing. r=hsivonen sr=mrbkap
parser/html/nsHtml5Parser.cpp
--- a/parser/html/nsHtml5Parser.cpp
+++ b/parser/html/nsHtml5Parser.cpp
@@ -83,19 +83,20 @@ public:
     return NS_OK;
   }
 };
 //-------------- End ParseContinue Event Definition ------------------------
 
 NS_IMPL_CYCLE_COLLECTION_CLASS(nsHtml5Parser)
 
 NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHtml5Parser) \
-  NS_INTERFACE_TABLE_INHERITED3(nsHtml5Parser, 
+  NS_INTERFACE_TABLE_INHERITED4(nsHtml5Parser, 
                                 nsIParser, 
                                 nsIStreamListener, 
+                                nsICharsetDetectionObserver, 
                                 nsIContentSink)
 NS_INTERFACE_TABLE_TAIL_INHERITING(nsContentSink)
 
 NS_IMPL_ADDREF_INHERITED(nsHtml5Parser, nsContentSink)
 
 NS_IMPL_RELEASE_INHERITED(nsHtml5Parser, nsContentSink)
 
 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(nsHtml5Parser, nsContentSink)