| Index: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
|
| index 89d12b5a8d30fe828bd634134e021a8d3e71a5df..038288efe4fffe893af5e0e88acf2c6e43f5e6cf 100644
|
| --- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
|
| @@ -474,7 +474,7 @@ void CSSAnimations::maybeApplyPendingUpdate(Element* element) {
|
| Animation& animation = *m_runningAnimations[cancelledIndices[i]]->animation;
|
| animation.cancel();
|
| animation.update(TimingUpdateOnDemand);
|
| - m_runningAnimations.remove(cancelledIndices[i]);
|
| + m_runningAnimations.erase(cancelledIndices[i]);
|
| }
|
|
|
| for (const auto& entry : m_pendingUpdate.newAnimations()) {
|
|
|