mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1109390 part 15 - Update AnimationPlayer::SetCurrentTime to cancel any pending pause tasks; r=jwatt
This commit is contained in:
parent
9343eb6087
commit
5f8854b4e5
@ -123,7 +123,12 @@ AnimationPlayer::SetCurrentTime(const TimeDuration& aSeekTime)
|
||||
{
|
||||
SilentlySetCurrentTime(aSeekTime);
|
||||
|
||||
// Once pending pause tasks are supported, cancel that here.
|
||||
if (mPendingState == PendingState::PausePending) {
|
||||
CancelPendingTasks();
|
||||
if (mReady) {
|
||||
mReady->MaybeResolve(this);
|
||||
}
|
||||
}
|
||||
|
||||
UpdateSourceContent();
|
||||
PostUpdate();
|
||||
|
Loading…
Reference in New Issue
Block a user