Chromium Code Reviews| Index: Source/core/animation/KeyframeEffectModel.cpp |
| diff --git a/Source/core/animation/KeyframeEffectModel.cpp b/Source/core/animation/KeyframeEffectModel.cpp |
| index e6ae191aa388bf1fb0920fc60681fcbcc9380751..d8806967761b9d6e9f29568c979a8a47d829272d 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) |
| +{ |
| + // FIXME: Should also notify/invalidate the player |
|
dstockwell
2015/03/26 22:56:16
TODO(samli):
samli
2015/03/30 00:22:55
Done.
|
| + 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); |