Index: Source/core/animation/KeyframeEffectModel.cpp |
diff --git a/Source/core/animation/KeyframeEffectModel.cpp b/Source/core/animation/KeyframeEffectModel.cpp |
index f0a673b17202e45f1f5eb8041c1aff1a159fa734..aba59504ef8b1c0ddb36959d85cb0e1976fc498b 100644 |
--- a/Source/core/animation/KeyframeEffectModel.cpp |
+++ b/Source/core/animation/KeyframeEffectModel.cpp |
@@ -55,6 +55,14 @@ PropertySet KeyframeEffectModelBase::properties() const |
return result; |
} |
+void KeyframeEffectModelBase::setFrames(KeyframeVector& keyframes) |
+{ |
+ // TODO(samli): Should also notify/invalidate the player |
+ m_keyframes = keyframes; |
+ m_keyframeGroups = nullptr; |
+ m_interpolationEffect = nullptr; |
+} |
+ |
void KeyframeEffectModelBase::sample(int iteration, double fraction, double iterationDuration, OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>>& result) const |
{ |
ASSERT(iteration >= 0); |