Index: third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp b/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp |
index f80fd37122b70ae8a87f947f367f92cfbab00d6a..1d3d5f26ee7ba155454bf2d2718da1d5eafe8ad6 100644 |
--- a/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp |
@@ -59,7 +59,7 @@ void StyleRuleKeyframes::wrapperAppendKeyframe(StyleRuleKeyframe* keyframe) { |
} |
void StyleRuleKeyframes::wrapperRemoveKeyframe(unsigned index) { |
- m_keyframes.remove(index); |
+ m_keyframes.erase(index); |
styleChanged(); |
} |
@@ -126,7 +126,7 @@ void CSSKeyframesRule::deleteRule(const String& s) { |
if (m_childRuleCSSOMWrappers[i]) |
m_childRuleCSSOMWrappers[i]->setParentRule(0); |
- m_childRuleCSSOMWrappers.remove(i); |
+ m_childRuleCSSOMWrappers.erase(i); |
} |
CSSKeyframeRule* CSSKeyframesRule::findRule(const String& s) { |