| 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 1a4753a7f8ac675f0bcfcc9c8d91f621ce5d3b18..40559c1feea5112d079d99cba30541161e6b907d 100644
|
| --- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
|
| @@ -115,7 +115,7 @@ void KeyframeEffectReadOnly::attach(Animation* animation) {
|
|
|
| void KeyframeEffectReadOnly::detach() {
|
| if (m_target)
|
| - m_target->elementAnimations()->animations().remove(animation());
|
| + m_target->elementAnimations()->animations().erase(animation());
|
| if (m_sampledEffect)
|
| clearEffects();
|
| AnimationEffectReadOnly::detach();
|
|
|