Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: Source/core/animation/InertAnimation.cpp

Issue 28263002: Plumb timeToNextEffect through players and animation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moved location of timeToEffectChange calculation Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/InertAnimation.cpp
diff --git a/Source/core/animation/InertAnimation.cpp b/Source/core/animation/InertAnimation.cpp
index 8e96e0740727cd537b079bfe41e6d30c6e5eeba9..9bfc829b2551b3f3441e78c3abd178fc3a8aa937 100644
--- a/Source/core/animation/InertAnimation.cpp
+++ b/Source/core/animation/InertAnimation.cpp
@@ -50,4 +50,10 @@ PassOwnPtr<AnimationEffect::CompositableValueMap> InertAnimation::sample()
return isInEffect() ? m_effect->sample(currentIteration(), timeFraction()) : nullptr;
}
+
+double InertAnimation::calculateTimeToEffectChange(double, double, Phase) const
+{
+ return std::numeric_limits<double>::infinity();
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698