| Index: third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
|
| index f7fb988dceb4f836ad5050dbf412f95d9506a387..3fbcae6204ee5fcaf306b3befd1dd5c34268bb61 100644
|
| --- a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
|
| @@ -89,7 +89,7 @@ bool AnimationTimeline::isActive() {
|
| void AnimationTimeline::animationAttached(Animation& animation) {
|
| DCHECK_EQ(animation.timeline(), this);
|
| DCHECK(!m_animations.contains(&animation));
|
| - m_animations.add(&animation);
|
| + m_animations.insert(&animation);
|
| }
|
|
|
| Animation* AnimationTimeline::play(AnimationEffectReadOnly* child) {
|
| @@ -281,7 +281,7 @@ void AnimationTimeline::clearOutdatedAnimation(Animation* animation) {
|
| void AnimationTimeline::setOutdatedAnimation(Animation* animation) {
|
| DCHECK(animation->outdated());
|
| m_outdatedAnimationCount++;
|
| - m_animationsNeedingUpdate.add(animation);
|
| + m_animationsNeedingUpdate.insert(animation);
|
| if (isActive() && !m_document->page()->animator().isServicingAnimations())
|
| m_timing->serviceOnNextFrame();
|
| }
|
|
|