Skip to content

Commit

Permalink
Bug 461440 - Remove unsound assertion; r=ehsan
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Aug 9, 2012
1 parent 9c3378e commit 8ad9d67
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions editor/libeditor/html/nsHTMLEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 8ad9d67

Please sign in to comment.