Fixing bogus assert code that I introduced when fixing 92433.

git-svn-id: svn://10.0.0.236/trunk@100706 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2001-08-10 01:22:07 +00:00
parent 08b72db815
commit 24ceee5611
2 changed files with 4 additions and 3 deletions

View File

@@ -1184,8 +1184,7 @@ nsHTMLDocument::ContentReplaced(nsIContent* aContainer, nsIContent* aOldChild,
nsIContent* aNewChild,
PRInt32 aIndexInContainer)
{
NS_ABORT_IF_FALSE(aContainer && aOldChild && aNewChild,
"Null container, new child, or old child!");
NS_ABORT_IF_FALSE(aOldChild && aNewChild, "Null new or old child!");
nsresult rv = UnregisterNamedItems(aOldChild);