Back out part of the patch for bug 329509 that accidentally landed with bug

348062. Fixes build bustage.
This commit is contained in:
bzbarsky%mit.edu 2006-08-25 18:37:54 +00:00
Родитель 5c72fde14f
Коммит 5f8947f33b
2 изменённых файлов: 6 добавлений и 12 удалений

Просмотреть файл

@ -428,8 +428,7 @@ nsGenericDOMDataNode::AppendData(const nsAString& aData)
mutation.mPrevAttrValue = oldValue;
mutation.mNewAttrValue = GetCurrentValueAtom();
nsEventDispatcher::Dispatch(this, nsnull, &mutation, nsnull, nsnull, nsnull,
PR_FALSE, PR_FALSE);
nsEventDispatcher::Dispatch(this, nsnull, &mutation);
}
// Notify observers
@ -1001,8 +1000,7 @@ nsGenericDOMDataNode::SetText(const PRUnichar* aBuffer,
do_GetAtom(Substring(aBuffer, aBuffer + aLength));
}
nsEventDispatcher::Dispatch(this, nsnull, &mutation, nsnull, nsnull, nsnull,
PR_FALSE, PR_FALSE);
nsEventDispatcher::Dispatch(this, nsnull, &mutation);
}
// Trigger a reflow

Просмотреть файл

@ -2422,8 +2422,7 @@ nsGenericElement::doInsertChildAt(nsIContent* aKid, PRUint32 aIndex,
NS_EVENT_BITS_MUTATION_NODEINSERTED)) {
nsMutationEvent mutation(PR_TRUE, NS_MUTATION_NODEINSERTED);
mutation.mRelatedNode = do_QueryInterface(container);
nsEventDispatcher::Dispatch(aKid, nsnull, &mutation, nsnull, nsnull,
nsnull, PR_FALSE, PR_FALSE);
nsEventDispatcher::Dispatch(aKid, nsnull, &mutation);
}
}
@ -2472,8 +2471,7 @@ nsGenericElement::doRemoveChildAt(PRUint32 aIndex, PRBool aNotify,
NS_EVENT_BITS_MUTATION_NODEREMOVED)) {
nsMutationEvent mutation(PR_TRUE, NS_MUTATION_NODEREMOVED);
mutation.mRelatedNode = do_QueryInterface(container);
nsEventDispatcher::Dispatch(aKid, nsnull, &mutation, nsnull, nsnull,
nsnull, PR_FALSE, PR_FALSE);
nsEventDispatcher::Dispatch(aKid, nsnull, &mutation, nsnull, nsnull);
}
// Someone may have removed the kid or any of its siblings while that event
@ -3413,8 +3411,7 @@ nsGenericElement::SetAttrAndNotify(PRInt32 aNamespaceID,
mutation.mPrevAttrValue = do_GetAtom(aOldValue);
}
mutation.mAttrChange = modType;
nsEventDispatcher::Dispatch(this, nsnull, &mutation, nsnull, nsnull,
nsnull, PR_FALSE, PR_FALSE);
nsEventDispatcher::Dispatch(this, nsnull, &mutation;
}
if (aNotify) {
@ -3614,8 +3611,7 @@ nsGenericElement::UnsetAttr(PRInt32 aNameSpaceID, nsIAtom* aName,
mutation.mPrevAttrValue = do_GetAtom(value);
mutation.mAttrChange = nsIDOMMutationEvent::REMOVAL;
nsEventDispatcher::Dispatch(this, nsnull, &mutation, nsnull, nsnull, nsnull,
PR_FALSE, PR_FALSE);
nsEventDispatcher::Dispatch(this, nsnull, &mutation);
}
// Clear binding to nsIDOMNamedNodeMap