Bug 720124 - Remove dead code from HTMLContentSink: meta; r=hsivonen

This commit is contained in:
Ms2ger
2012-01-25 08:50:03 +01:00
parent 340fbaa7c2
commit 51651f276a

View File

@@ -953,9 +953,8 @@ SinkContext::AddLeaf(const nsIParserNode& aNode)
// Additional processing needed once the element is in the tree
switch (nodeType) {
case eHTMLTag_meta:
// XXX It's just not sufficient to check if the parent is head. Also
// check for the preference.
rv = mSink->ProcessMETATag(content);
MOZ_NOT_REACHED("Must not use HTMLContentSink for metas.");
rv = NS_ERROR_NOT_IMPLEMENTED;
break;
case eHTMLTag_input: