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

Unified Diff: third_party/WebKit/Source/platform/fonts/ScriptRunIterator.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/platform/fonts/ScriptRunIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp b/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
index 7fe550242d0b46242694b0661feab1757c93abae..49dca6f318503230b7d61f7e7a210673f4c2565c 100644
--- a/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
+++ b/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
@@ -345,7 +345,7 @@ bool ScriptRunIterator::fetch(size_t* pos, UChar32* ch) {
if (m_nextSet[0] == USCRIPT_COMMON) {
// Overwrite the next set with the non-inherited portion of the set.
m_nextSet = m_aheadSet;
- m_nextSet.remove(0);
+ m_nextSet.erase(0);
// Discard the remaining values, we'll inherit.
m_aheadSet.resize(1);
} else {

Powered by Google App Engine
This is Rietveld 408576698