firefox/D139022.diff
2022-02-18 10:02:34 +01:00

35 lines
1.6 KiB
Diff

diff --git a/dom/animation/TimingParams.h b/dom/animation/TimingParams.h
--- a/dom/animation/TimingParams.h
+++ b/dom/animation/TimingParams.h
@@ -31,22 +31,19 @@
struct TimingParams {
constexpr TimingParams() = default;
- constexpr TimingParams(float aDuration, float aDelay, float aIterationCount,
- dom::PlaybackDirection aDirection,
- dom::FillMode aFillMode)
+ TimingParams(float aDuration, float aDelay, float aIterationCount,
+ dom::PlaybackDirection aDirection, dom::FillMode aFillMode)
: mIterations(aIterationCount), mDirection(aDirection), mFill(aFillMode) {
mDuration.emplace(StickyTimeDuration::FromMilliseconds(aDuration));
mDelay = TimeDuration::FromMilliseconds(aDelay);
Update();
}
- constexpr TimingParams(const TimeDuration& aDuration,
- const TimeDuration& aDelay,
- const TimeDuration& aEndDelay, float aIterations,
- float aIterationStart,
- dom::PlaybackDirection aDirection,
- dom::FillMode aFillMode,
- Maybe<ComputedTimingFunction>&& aFunction)
+ TimingParams(const TimeDuration& aDuration, const TimeDuration& aDelay,
+ const TimeDuration& aEndDelay, float aIterations,
+ float aIterationStart, dom::PlaybackDirection aDirection,
+ dom::FillMode aFillMode,
+ Maybe<ComputedTimingFunction>&& aFunction)
: mDelay(aDelay),
mEndDelay(aEndDelay),
mIterations(aIterations),