Index: third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp |
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp |
index 64a1f72c30316bbc9f92a12042eb15e3585ba45d..50c995635c6e7b2c6a432fce4aae10f6bc779478 100644 |
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp |
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp |
@@ -298,7 +298,7 @@ void KeyframeEffectModelBase::PropertySpecificKeyframeGroup:: |
m_keyframes[i - 1]->offset() == offset; |
bool hasSameOffsetAsNextNeighbor = m_keyframes[i + 1]->offset() == offset; |
if (hasSameOffsetAsPreviousNeighbor && hasSameOffsetAsNextNeighbor) |
- m_keyframes.remove(i); |
+ m_keyframes.erase(i); |
} |
DCHECK_GE(m_keyframes.size(), 2U); |
} |