| Index: third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp
|
| diff --git a/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp b/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp
|
| index 48d49a96e791dc4a905cea2c196d4e1ff1d71d84..a5d3e02124bb6d197e6537d63b7c286e5db9284c 100644
|
| --- a/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp
|
| +++ b/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp
|
| @@ -56,7 +56,7 @@ class LineBreakIteratorPool final {
|
| for (size_t i = 0; i < m_pool.size(); ++i) {
|
| if (m_pool[i].first == locale) {
|
| iterator = m_pool[i].second;
|
| - m_pool.remove(i);
|
| + m_pool.erase(i);
|
| break;
|
| }
|
| }
|
| @@ -93,7 +93,7 @@ class LineBreakIteratorPool final {
|
|
|
| if (m_pool.size() == capacity) {
|
| delete (m_pool[0].second);
|
| - m_pool.remove(0);
|
| + m_pool.erase(0);
|
| }
|
|
|
| m_pool.push_back(Entry(m_vendedIterators.take(iterator), iterator));
|
|
|