mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 461440 - Remove unsound assertion; r=ehsan
This commit is contained in:
parent
c1ce519fa3
commit
def458727b
@ -3523,9 +3523,6 @@ nsHTMLEditor::TagCanContainTag(nsIAtom* aParentTag, nsIAtom* aChildTag)
|
||||
}
|
||||
|
||||
PRInt32 parentTagEnum = parserService->HTMLAtomTagToId(aParentTag);
|
||||
NS_ASSERTION(parentTagEnum < NS_HTML_TAG_MAX,
|
||||
"Fix the caller, this type of node can never contain children.");
|
||||
|
||||
return nsHTMLEditUtils::CanContain(parentTagEnum, childTagEnum);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user