Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp

Issue 2776203002: Migrate WTF::Vector::remove() to ::erase() (Closed)
Patch Set: rebase, repatch VectorTest Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSGroupingRule.cpp ('k') | third_party/WebKit/Source/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698