зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1244250 - r=mats
This commit is contained in:
Родитель
10ac35cdac
Коммит
106a8ed3ab
|
@ -313,7 +313,11 @@ public:
|
|||
* accumulate animationstart events at other points when style
|
||||
* contexts are created.
|
||||
*/
|
||||
void DispatchEvents() { mEventDispatcher.DispatchEvents(mPresContext); }
|
||||
void DispatchEvents()
|
||||
{
|
||||
RefPtr<nsAnimationManager> kungFuDeathGrip(this);
|
||||
mEventDispatcher.DispatchEvents(mPresContext);
|
||||
}
|
||||
void SortEvents() { mEventDispatcher.SortEvents(); }
|
||||
void ClearEventQueue() { mEventDispatcher.ClearEventQueue(); }
|
||||
|
||||
|
|
|
@ -306,7 +306,11 @@ public:
|
|||
mozilla::Forward<mozilla::TransitionEventInfo>(aEventInfo));
|
||||
}
|
||||
|
||||
void DispatchEvents() { mEventDispatcher.DispatchEvents(mPresContext); }
|
||||
void DispatchEvents()
|
||||
{
|
||||
RefPtr<nsTransitionManager> kungFuDeathGrip(this);
|
||||
mEventDispatcher.DispatchEvents(mPresContext);
|
||||
}
|
||||
void SortEvents() { mEventDispatcher.SortEvents(); }
|
||||
void ClearEventQueue() { mEventDispatcher.ClearEventQueue(); }
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче