Fix for bug 339412 (nsIDOMGCParticipant implementation in nsDOMAttribute looks wrong). r/sr=dbaron.

This commit is contained in:
peterv@propagandism.org
2006-06-02 12:33:17 +00:00
parent 0f60d19cc6
commit 7cf60e8636
2 changed files with 12 additions and 6 deletions

View File

@@ -915,7 +915,6 @@ nsGenericElement::AppendReachableList(nsCOMArray<nsIDOMGCParticipant>& aArray)
{
NS_ASSERTION(GetCurrentDoc() == nsnull,
"shouldn't be an SCC index if we're in a doc");
NS_ASSERTION(GetOwnerDoc(), "no owner document");
// This node is the root of a subtree that's been removed from the
// document (since AppendReachableList is only called on SCC index