| Index: Source/core/animation/KeyframeEffect.cpp
|
| diff --git a/Source/core/animation/KeyframeEffect.cpp b/Source/core/animation/KeyframeEffect.cpp
|
| index 03310455be291858237c65467136a89da82e525a..484b8cbd3c92ce0650f822aaf1d8aec0aa646734 100644
|
| --- a/Source/core/animation/KeyframeEffect.cpp
|
| +++ b/Source/core/animation/KeyframeEffect.cpp
|
| @@ -83,6 +83,10 @@ KeyframeEffect::KeyframeEffect(Element* target, EffectModel* model, const Timing
|
| , m_sampledEffect(nullptr)
|
| , m_priority(priority)
|
| {
|
| +#if !ENABLE(OILPAN)
|
| + if (m_target)
|
| + m_target->ensureElementAnimations().addEffect(this);
|
| +#endif
|
| }
|
|
|
| KeyframeEffect::~KeyframeEffect()
|
|
|