Bug 895274 part.97 Rename NS_MUTATION_NODEREMOVEDFROMDOCUMENT to eLegacyNodeRemovedFromDocument r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Mon, 07 Sep 2015 23:55:50 +0900
changeset 293836 2f8c25b844e6acc92d446b6b0576f31f1efb0e8b
parent 293835 53fbc3307221c5635d3a6c23631c0380645c203f
child 293837 79e293defe0fa1211255c62cf5cada0cbcd27e5f
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs895274
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 895274 part.97 Rename NS_MUTATION_NODEREMOVEDFROMDOCUMENT to eLegacyNodeRemovedFromDocument r=smaug
dom/events/EventListenerManager.cpp
dom/events/EventNameList.h
widget/EventMessageList.h
--- a/dom/events/EventListenerManager.cpp
+++ b/dom/events/EventListenerManager.cpp
@@ -74,17 +74,17 @@ MutationBitForEventType(EventMessage aEv
 {
   switch (aEventType) {
     case NS_MUTATION_SUBTREEMODIFIED:
       return NS_EVENT_BITS_MUTATION_SUBTREEMODIFIED;
     case NS_MUTATION_NODEINSERTED:
       return NS_EVENT_BITS_MUTATION_NODEINSERTED;
     case NS_MUTATION_NODEREMOVED:
       return NS_EVENT_BITS_MUTATION_NODEREMOVED;
-    case NS_MUTATION_NODEREMOVEDFROMDOCUMENT:
+    case eLegacyNodeRemovedFromDocument:
       return NS_EVENT_BITS_MUTATION_NODEREMOVEDFROMDOCUMENT;
     case eLegacyNodeInsertedIntoDocument:
       return NS_EVENT_BITS_MUTATION_NODEINSERTEDINTODOCUMENT;
     case NS_MUTATION_ATTRMODIFIED:
       return NS_EVENT_BITS_MUTATION_ATTRMODIFIED;
     case NS_MUTATION_CHARACTERDATAMODIFIED:
       return NS_EVENT_BITS_MUTATION_CHARACTERDATAMODIFIED;
     default:
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -606,17 +606,17 @@ NON_IDL_EVENT(DOMNodeRemoved,
               NS_MUTATION_NODEREMOVED,
               EventNameType_HTMLXUL,
               eMutationEventClass)
 NON_IDL_EVENT(DOMNodeInsertedIntoDocument,
               eLegacyNodeInsertedIntoDocument,
               EventNameType_HTMLXUL,
               eMutationEventClass)
 NON_IDL_EVENT(DOMNodeRemovedFromDocument,
-              NS_MUTATION_NODEREMOVEDFROMDOCUMENT,
+              eLegacyNodeRemovedFromDocument,
               EventNameType_HTMLXUL,
               eMutationEventClass)
 NON_IDL_EVENT(DOMSubtreeModified,
               NS_MUTATION_SUBTREEMODIFIED,
               EventNameType_HTMLXUL,
               eMutationEventClass)
 
 NON_IDL_EVENT(DOMActivate,
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -131,17 +131,17 @@ NS_EVENT_MESSAGE(NS_MOUSE_PIXEL_SCROLL, 
 NS_EVENT_MESSAGE(NS_SCROLLPORT_START,     1700)
 NS_EVENT_MESSAGE(NS_SCROLLPORT_UNDERFLOW, NS_SCROLLPORT_START)
 NS_EVENT_MESSAGE(NS_SCROLLPORT_OVERFLOW,  NS_SCROLLPORT_START + 1)
 
 NS_EVENT_MESSAGE(eLegacyMutationEventFirst,       1800)
 NS_EVENT_MESSAGE(NS_MUTATION_SUBTREEMODIFIED,          eLegacyMutationEventFirst)
 NS_EVENT_MESSAGE(NS_MUTATION_NODEINSERTED,             eLegacyMutationEventFirst + 1)
 NS_EVENT_MESSAGE(NS_MUTATION_NODEREMOVED,              eLegacyMutationEventFirst + 2)
-NS_EVENT_MESSAGE(NS_MUTATION_NODEREMOVEDFROMDOCUMENT,  eLegacyMutationEventFirst + 3)
+NS_EVENT_MESSAGE(eLegacyNodeRemovedFromDocument,  eLegacyMutationEventFirst + 3)
 NS_EVENT_MESSAGE(eLegacyNodeInsertedIntoDocument, eLegacyMutationEventFirst + 4)
 NS_EVENT_MESSAGE(NS_MUTATION_ATTRMODIFIED,             eLegacyMutationEventFirst + 5)
 NS_EVENT_MESSAGE(NS_MUTATION_CHARACTERDATAMODIFIED,    eLegacyMutationEventFirst + 6)
 NS_EVENT_MESSAGE(NS_MUTATION_END,                      NS_MUTATION_CHARACTERDATAMODIFIED)
 
 NS_EVENT_MESSAGE(NS_USER_DEFINED_EVENT, 2000)
  
 // composition events