Bug 920377 part.1 Get rid of nsMutationEvent r=roc

This commit is contained in:
Masayuki Nakano
2013-09-27 15:20:53 +09:00
parent abf8c96d82
commit 4e2771dcfd
12 changed files with 18 additions and 19 deletions

View File

@@ -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);