Bug 895274 part.198 Rename NS_SMIL_REPEAT to eSMILRepeatEvent r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-11 21:21:28 +09:00
parent 12fcfc409f
commit 0c9e878f6b
3 changed files with 4 additions and 4 deletions

View File

@ -796,12 +796,12 @@ NON_IDL_EVENT(endEvent,
// 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)

View File

@ -727,7 +727,7 @@ nsSMILTimedElement::DoSampleAt(nsSMILTime aContainerTime, bool aEndOnly)
mCurrentRepeatIteration != prevRepeatIteration &&
mCurrentRepeatIteration &&
mSeekState == SEEK_NOT_SEEKING) {
FireTimeEventAsync(NS_SMIL_REPEAT,
FireTimeEventAsync(eSMILRepeatEvent,
static_cast<int32_t>(mCurrentRepeatIteration));
}
}

View File

@ -334,7 +334,7 @@ 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)