summaryrefslogtreecommitdiff
path: root/D139022.diff
blob: 9d18162ca7cff55f297af55fc9b1a720a7398616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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),

bgstack15