Bug 461440 - Remove unsound assertion; r=ehsan

This commit is contained in:
Ms2ger 2012-08-09 09:20:01 +02:00
parent c1ce519fa3
commit def458727b

View File

@ -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);
}