зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1259676 - part2: rename from 'InternalAnimationEvent.elapsedTime' to 'InternalAnimationEvent.mElapsedTime'. r=masayuki
MozReview-Commit-ID: 4n5YQwxLeAx --HG-- extra : rebase_source : 6c29d53092c7d1f84ef2ad38f44380c7579df270
This commit is contained in:
Родитель
693106452d
Коммит
3aeb31cf0f
|
@ -48,7 +48,7 @@ AnimationEvent::Constructor(const GlobalObject& aGlobal,
|
|||
|
||||
InternalAnimationEvent* internalEvent = e->mEvent->AsAnimationEvent();
|
||||
internalEvent->mAnimationName = aParam.mAnimationName;
|
||||
internalEvent->elapsedTime = aParam.mElapsedTime;
|
||||
internalEvent->mElapsedTime = aParam.mElapsedTime;
|
||||
internalEvent->pseudoElement = aParam.mPseudoElement;
|
||||
|
||||
e->SetTrusted(trusted);
|
||||
|
@ -72,7 +72,7 @@ AnimationEvent::GetElapsedTime(float* aElapsedTime)
|
|||
float
|
||||
AnimationEvent::ElapsedTime()
|
||||
{
|
||||
return mEvent->AsAnimationEvent()->elapsedTime;
|
||||
return mEvent->AsAnimationEvent()->mElapsedTime;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
@ -47,7 +47,7 @@ struct AnimationEventInfo {
|
|||
{
|
||||
// XXX Looks like nobody initialize WidgetEvent::time
|
||||
mEvent.mAnimationName = aAnimationName;
|
||||
mEvent.elapsedTime = aElapsedTime.ToSeconds();
|
||||
mEvent.mElapsedTime = aElapsedTime.ToSeconds();
|
||||
mEvent.pseudoElement =
|
||||
AnimationCollection<dom::CSSAnimation>::PseudoTypeAsString(aPseudoType);
|
||||
}
|
||||
|
|
|
@ -287,7 +287,7 @@ public:
|
|||
|
||||
InternalAnimationEvent(bool aIsTrusted, EventMessage aMessage)
|
||||
: WidgetEvent(aIsTrusted, aMessage, eAnimationEventClass)
|
||||
, elapsedTime(0.0)
|
||||
, mElapsedTime(0.0)
|
||||
{
|
||||
mFlags.mCancelable = false;
|
||||
}
|
||||
|
@ -304,7 +304,7 @@ public:
|
|||
}
|
||||
|
||||
nsString mAnimationName;
|
||||
float elapsedTime;
|
||||
float mElapsedTime;
|
||||
nsString pseudoElement;
|
||||
|
||||
void AssignAnimationEventData(const InternalAnimationEvent& aEvent,
|
||||
|
@ -313,7 +313,7 @@ public:
|
|||
AssignEventData(aEvent, aCopyTargets);
|
||||
|
||||
mAnimationName = aEvent.mAnimationName;
|
||||
elapsedTime = aEvent.elapsedTime;
|
||||
mElapsedTime = aEvent.mElapsedTime;
|
||||
pseudoElement = aEvent.pseudoElement;
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче