Index: Source/core/animation/Animation.cpp |
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp |
index 54dca22c4abf9374958757c476aa55ab90aa465f..02cbf0116ec582c00dd494072851cca1408267c4 100644 |
--- a/Source/core/animation/Animation.cpp |
+++ b/Source/core/animation/Animation.cpp |
@@ -193,6 +193,8 @@ double Animation::calculateTimeToEffectChange(bool forwards, double localTime, d |
const double end = start + activeDurationInternal(); |
switch (phase()) { |
+ case PhaseNone: |
+ return std::numeric_limits<double>::infinity(); |
case PhaseBefore: |
ASSERT(start >= localTime); |
return forwards |