mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.100 Rename NS_MUTATION_NODEINSERTED to eLegacyNodeInserted r=smaug
This commit is contained in:
parent
5fb0380080
commit
1d327db10e
@ -1217,7 +1217,7 @@ FragmentOrElement::FireNodeInserted(nsIDocument* aDoc,
|
||||
|
||||
if (nsContentUtils::HasMutationListeners(childContent,
|
||||
NS_EVENT_BITS_MUTATION_NODEINSERTED, aParent)) {
|
||||
InternalMutationEvent mutation(true, NS_MUTATION_NODEINSERTED);
|
||||
InternalMutationEvent mutation(true, eLegacyNodeInserted);
|
||||
mutation.mRelatedNode = do_QueryInterface(aParent);
|
||||
|
||||
mozAutoSubtreeModified subtree(aDoc, aParent);
|
||||
|
@ -1610,7 +1610,7 @@ nsINode::doInsertChildAt(nsIContent* aKid, uint32_t aIndex,
|
||||
|
||||
if (nsContentUtils::HasMutationListeners(aKid,
|
||||
NS_EVENT_BITS_MUTATION_NODEINSERTED, this)) {
|
||||
InternalMutationEvent mutation(true, NS_MUTATION_NODEINSERTED);
|
||||
InternalMutationEvent mutation(true, eLegacyNodeInserted);
|
||||
mutation.mRelatedNode = do_QueryInterface(this);
|
||||
|
||||
mozAutoSubtreeModified subtree(OwnerDoc(), this);
|
||||
|
@ -75,7 +75,7 @@ MutationBitForEventType(EventMessage aEventType)
|
||||
switch (aEventType) {
|
||||
case eLegacySubtreeModified:
|
||||
return NS_EVENT_BITS_MUTATION_SUBTREEMODIFIED;
|
||||
case NS_MUTATION_NODEINSERTED:
|
||||
case eLegacyNodeInserted:
|
||||
return NS_EVENT_BITS_MUTATION_NODEINSERTED;
|
||||
case NS_MUTATION_NODEREMOVED:
|
||||
return NS_EVENT_BITS_MUTATION_NODEREMOVED;
|
||||
|
@ -599,7 +599,7 @@ NON_IDL_EVENT(DOMCharacterDataModified,
|
||||
EventNameType_HTMLXUL,
|
||||
eMutationEventClass)
|
||||
NON_IDL_EVENT(DOMNodeInserted,
|
||||
NS_MUTATION_NODEINSERTED,
|
||||
eLegacyNodeInserted,
|
||||
EventNameType_HTMLXUL,
|
||||
eMutationEventClass)
|
||||
NON_IDL_EVENT(DOMNodeRemoved,
|
||||
|
@ -134,7 +134,7 @@ NS_EVENT_MESSAGE(NS_SCROLLPORT_OVERFLOW, NS_SCROLLPORT_START + 1)
|
||||
|
||||
NS_EVENT_MESSAGE(eLegacyMutationEventFirst, 1800)
|
||||
NS_EVENT_MESSAGE(eLegacySubtreeModified, eLegacyMutationEventFirst)
|
||||
NS_EVENT_MESSAGE(NS_MUTATION_NODEINSERTED, eLegacyMutationEventFirst + 1)
|
||||
NS_EVENT_MESSAGE(eLegacyNodeInserted, eLegacyMutationEventFirst + 1)
|
||||
NS_EVENT_MESSAGE(NS_MUTATION_NODEREMOVED, eLegacyMutationEventFirst + 2)
|
||||
NS_EVENT_MESSAGE(eLegacyNodeRemovedFromDocument, eLegacyMutationEventFirst + 3)
|
||||
NS_EVENT_MESSAGE(eLegacyNodeInsertedIntoDocument, eLegacyMutationEventFirst + 4)
|
||||
|
Loading…
Reference in New Issue
Block a user