mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.101 Rename NS_MUTATION_NODEREMOVED to eLegacyNodeRemoved r=smaug
This commit is contained in:
parent
1d327db10e
commit
e5b0f44393
@ -4085,7 +4085,7 @@ nsContentUtils::MaybeFireNodeRemoved(nsINode* aChild, nsINode* aParent,
|
||||
|
||||
if (HasMutationListeners(aChild,
|
||||
NS_EVENT_BITS_MUTATION_NODEREMOVED, aParent)) {
|
||||
InternalMutationEvent mutation(true, NS_MUTATION_NODEREMOVED);
|
||||
InternalMutationEvent mutation(true, eLegacyNodeRemoved);
|
||||
mutation.mRelatedNode = do_QueryInterface(aParent);
|
||||
|
||||
mozAutoSubtreeModified subtree(aOwnerDoc, aParent);
|
||||
|
@ -77,7 +77,7 @@ MutationBitForEventType(EventMessage aEventType)
|
||||
return NS_EVENT_BITS_MUTATION_SUBTREEMODIFIED;
|
||||
case eLegacyNodeInserted:
|
||||
return NS_EVENT_BITS_MUTATION_NODEINSERTED;
|
||||
case NS_MUTATION_NODEREMOVED:
|
||||
case eLegacyNodeRemoved:
|
||||
return NS_EVENT_BITS_MUTATION_NODEREMOVED;
|
||||
case eLegacyNodeRemovedFromDocument:
|
||||
return NS_EVENT_BITS_MUTATION_NODEREMOVEDFROMDOCUMENT;
|
||||
|
@ -603,7 +603,7 @@ NON_IDL_EVENT(DOMNodeInserted,
|
||||
EventNameType_HTMLXUL,
|
||||
eMutationEventClass)
|
||||
NON_IDL_EVENT(DOMNodeRemoved,
|
||||
NS_MUTATION_NODEREMOVED,
|
||||
eLegacyNodeRemoved,
|
||||
EventNameType_HTMLXUL,
|
||||
eMutationEventClass)
|
||||
NON_IDL_EVENT(DOMNodeInsertedIntoDocument,
|
||||
|
@ -135,7 +135,7 @@ NS_EVENT_MESSAGE(NS_SCROLLPORT_OVERFLOW, NS_SCROLLPORT_START + 1)
|
||||
NS_EVENT_MESSAGE(eLegacyMutationEventFirst, 1800)
|
||||
NS_EVENT_MESSAGE(eLegacySubtreeModified, eLegacyMutationEventFirst)
|
||||
NS_EVENT_MESSAGE(eLegacyNodeInserted, eLegacyMutationEventFirst + 1)
|
||||
NS_EVENT_MESSAGE(NS_MUTATION_NODEREMOVED, eLegacyMutationEventFirst + 2)
|
||||
NS_EVENT_MESSAGE(eLegacyNodeRemoved, eLegacyMutationEventFirst + 2)
|
||||
NS_EVENT_MESSAGE(eLegacyNodeRemovedFromDocument, eLegacyMutationEventFirst + 3)
|
||||
NS_EVENT_MESSAGE(eLegacyNodeInsertedIntoDocument, eLegacyMutationEventFirst + 4)
|
||||
NS_EVENT_MESSAGE(NS_MUTATION_ATTRMODIFIED, eLegacyMutationEventFirst + 5)
|
||||
|
Loading…
Reference in New Issue
Block a user