mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1109390 part 9 - Call Trigger* on pause-pending players; r=jwatt
This won't actually do anything yet because: (a) We don't yet add pause-pending players to the PendingPlayerTracker (b) We never mark pausing players as pending so AnimationPlayer::TriggerOnNextTick will just ignore them.
This commit is contained in:
parent
7e48f4d74f
commit
419faab492
@ -76,6 +76,8 @@ PendingPlayerTracker::TriggerPendingPlayersOnNextTick(const TimeStamp&
|
||||
{
|
||||
mPlayPendingSet.EnumerateEntries(TriggerPlayerAtTime,
|
||||
const_cast<TimeStamp*>(&aReadyTime));
|
||||
mPausePendingSet.EnumerateEntries(TriggerPlayerAtTime,
|
||||
const_cast<TimeStamp*>(&aReadyTime));
|
||||
}
|
||||
|
||||
PLDHashOperator
|
||||
@ -90,6 +92,8 @@ PendingPlayerTracker::TriggerPendingPlayersNow()
|
||||
{
|
||||
mPlayPendingSet.EnumerateEntries(TriggerPlayerNow, nullptr);
|
||||
mPlayPendingSet.Clear();
|
||||
mPausePendingSet.EnumerateEntries(TriggerPlayerNow, nullptr);
|
||||
mPausePendingSet.Clear();
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user