mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
454197c42c
In forthcoming patches we will encapsulate AnimationPlayer::mStartTime so we can ensure that related state is updated appropriately. We would like to expose mStartTime via GetStartTime() but currently a method of that name returns the start time as a double. This patch applies the pattern used for currentTime to startTime; specifically, GetCurrentTime() returns the TimeDuration (since that's what C++ callers should use) while GetCurrentTimeAsDouble() returns a double. At the same time, this patch also removes the [Pure] extended attribute from startTime in the WebIDL definition since subsequent patches either in this bug or in bug 927349 will mean that startTime can be updated out-of-band. Specifically, we will implement deferred playback of animation such that the startTime remains null until we've finished rendering the first frame of the animation. |
||
---|---|---|
.. | ||
test | ||
Animation.cpp | ||
Animation.h | ||
AnimationEffect.cpp | ||
AnimationEffect.h | ||
AnimationPlayer.cpp | ||
AnimationPlayer.h | ||
AnimationTimeline.cpp | ||
AnimationTimeline.h | ||
AnimationUtils.h | ||
moz.build |