Bug 920377 part.1 Get rid of nsMutationEvent r=roc
This commit is contained in:
@@ -1021,7 +1021,7 @@ FragmentOrElement::FireNodeInserted(nsIDocument* aDoc,
|
||||
|
||||
if (nsContentUtils::HasMutationListeners(childContent,
|
||||
NS_EVENT_BITS_MUTATION_NODEINSERTED, aParent)) {
|
||||
nsMutationEvent mutation(true, NS_MUTATION_NODEINSERTED);
|
||||
InternalMutationEvent mutation(true, NS_MUTATION_NODEINSERTED);
|
||||
mutation.mRelatedNode = do_QueryInterface(aParent);
|
||||
|
||||
mozAutoSubtreeModified subtree(aDoc, aParent);
|
||||
|
||||
Reference in New Issue
Block a user