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

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

Issue 23875044: Web Animations: Correctly handle incomplete keyframes in CSS animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 3 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/KeyframeAnimationEffect.cpp
diff --git a/Source/core/animation/KeyframeAnimationEffect.cpp b/Source/core/animation/KeyframeAnimationEffect.cpp
index 7c708314da68446648a239ede56188fdbb89eb93..91310774df30b864a1f7085ca41dc1da64b48589 100644
--- a/Source/core/animation/KeyframeAnimationEffect.cpp
+++ b/Source/core/animation/KeyframeAnimationEffect.cpp
@@ -124,6 +124,11 @@ void Keyframe::setPropertyValue(CSSPropertyID property, const AnimatableValue* v
m_propertyValues.add(property, const_cast<AnimatableValue*>(value));
}
+void Keyframe::clearPropertyValue(CSSPropertyID property)
+{
+ m_propertyValues.remove(property);
+}
+
const AnimatableValue* Keyframe::propertyValue(CSSPropertyID property) const
{
ASSERT(m_propertyValues.contains(property));

Powered by Google App Engine
This is Rietveld 408576698