mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 720124 - Remove dead code from HTMLContentSink: meta; r=hsivonen
This commit is contained in:
parent
281995d3a8
commit
8f95286164
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user