Bug 895274 part.198 Rename NS_SMIL_REPEAT to eSMILRepeatEvent r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 11 Sep 2015 21:21:28 +0900
changeset 294614 9339cf2e33b38c6c4b50e8beff376fbd9a851a21
parent 294613 108cbd52aa7ecccf89aaaa23ec55a011fa7f9832
child 294615 2fd2531aac12f0e334d6e1f0ab9501994c3529c3
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.198 Rename NS_SMIL_REPEAT to eSMILRepeatEvent r=smaug
dom/events/EventNameList.h
dom/smil/nsSMILTimedElement.cpp
widget/EventMessageList.h
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -791,22 +791,22 @@ NON_IDL_EVENT(end,
 #endif
 NON_IDL_EVENT(endEvent,
               eSMILEndEvent,
               EventNameType_None,
               eSMILTimeEventClass)
 // Only map the ID to the real event name when MESSAGE_TO_EVENT is defined.
 #ifndef MESSAGE_TO_EVENT
 NON_IDL_EVENT(repeat,
-              NS_SMIL_REPEAT,
+              eSMILRepeatEvent,
               EventNameType_SMIL,
               eBasicEventClass)
 #endif
 NON_IDL_EVENT(repeatEvent,
-              NS_SMIL_REPEAT,
+              eSMILRepeatEvent,
               EventNameType_None,
               eSMILTimeEventClass)
 
 NON_IDL_EVENT(MozAfterPaint,
               eAfterPaint,
               EventNameType_None,
               eBasicEventClass)
 
--- a/dom/smil/nsSMILTimedElement.cpp
+++ b/dom/smil/nsSMILTimedElement.cpp
@@ -722,17 +722,17 @@ nsSMILTimedElement::DoSampleAt(nsSMILTim
             // mCurrentRepeatIteration so we do that first before testing the
             // seek state.)
             uint32_t prevRepeatIteration = mCurrentRepeatIteration;
             if (
               ActiveTimeToSimpleTime(activeTime, mCurrentRepeatIteration)==0 &&
               mCurrentRepeatIteration != prevRepeatIteration &&
               mCurrentRepeatIteration &&
               mSeekState == SEEK_NOT_SEEKING) {
-              FireTimeEventAsync(NS_SMIL_REPEAT,
+              FireTimeEventAsync(eSMILRepeatEvent,
                             static_cast<int32_t>(mCurrentRepeatIteration));
             }
           }
         }
       }
       break;
 
     case STATE_POSTACTIVE:
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -329,17 +329,17 @@ NS_EVENT_MESSAGE(NS_TRANSITION_END,     
 NS_EVENT_MESSAGE(eAnimationEventFirst,  4250)
 NS_EVENT_MESSAGE(eAnimationStart,       eAnimationEventFirst)
 NS_EVENT_MESSAGE(eAnimationEnd,         eAnimationEventFirst + 1)
 NS_EVENT_MESSAGE(eAnimationIteration,   eAnimationEventFirst + 2)
 
 NS_EVENT_MESSAGE(eSMILEventFirst,       4300)
 NS_EVENT_MESSAGE(eSMILBeginEvent,       eSMILEventFirst)
 NS_EVENT_MESSAGE(eSMILEndEvent,         eSMILEventFirst + 1)
-NS_EVENT_MESSAGE(NS_SMIL_REPEAT,        eSMILEventFirst + 2)
+NS_EVENT_MESSAGE(eSMILRepeatEvent,      eSMILEventFirst + 2)
 
 NS_EVENT_MESSAGE(NS_WEBAUDIO_EVENT_START, 4350)
 NS_EVENT_MESSAGE(NS_AUDIO_PROCESS,      NS_WEBAUDIO_EVENT_START)
 NS_EVENT_MESSAGE(NS_AUDIO_COMPLETE,     NS_WEBAUDIO_EVENT_START + 1)
 
 // script notification events
 NS_EVENT_MESSAGE(eScriptEventFirst,     4500)
 NS_EVENT_MESSAGE(eBeforeScriptExecute,  eScriptEventFirst)