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 { |