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

Unified Diff: third_party/WebKit/Source/core/svg/SVGStringList.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/svg/SVGStringList.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGStringList.cpp b/third_party/WebKit/Source/core/svg/SVGStringList.cpp
index 2549e65eabc77b367a44f0445b0f7a20b5f0c72a..15769d94b6c39ef11ae413a2b6041ba7d93f8c52 100644
--- a/third_party/WebKit/Source/core/svg/SVGStringList.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGStringList.cpp
@@ -63,7 +63,7 @@ String SVGStringList::removeItem(size_t index, ExceptionState& exceptionState) {
return String();
String oldItem = m_values.at(index);
- m_values.remove(index);
+ m_values.erase(index);
return oldItem;
}

Powered by Google App Engine
This is Rietveld 408576698