| Index: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
|
| index 3b97beff90a78becb2fe419b63644ec0aeb1197c..1a4753a7f8ac675f0bcfcc9c8d91f621ce5d3b18 100644
|
| --- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
|
| @@ -104,7 +104,7 @@ KeyframeEffectReadOnly::KeyframeEffectReadOnly(Element* target,
|
|
|
| void KeyframeEffectReadOnly::attach(Animation* animation) {
|
| if (m_target) {
|
| - m_target->ensureElementAnimations().animations().add(animation);
|
| + m_target->ensureElementAnimations().animations().insert(animation);
|
| m_target->setNeedsAnimationStyleRecalc();
|
| if (RuntimeEnabledFeatures::webAnimationsSVGEnabled() &&
|
| m_target->isSVGElement())
|
|
|