Index: third_party/WebKit/Source/modules/fetch/FetchHeaderList.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/FetchHeaderList.cpp b/third_party/WebKit/Source/modules/fetch/FetchHeaderList.cpp |
index eb15911580d08c91df573e4a119d5c77e3855a4f..bda2352890c71f60de82f7fd2b17d6dfec101d24 100644 |
--- a/third_party/WebKit/Source/modules/fetch/FetchHeaderList.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/FetchHeaderList.cpp |
@@ -47,7 +47,7 @@ void FetchHeaderList::set(const String& name, const String& value) { |
m_headerList[i]->second = value; |
for (size_t j = i + 1; j < m_headerList.size();) { |
if (m_headerList[j]->first == lowercasedName) |
- m_headerList.remove(j); |
+ m_headerList.erase(j); |
else |
++j; |
} |
@@ -79,7 +79,7 @@ void FetchHeaderList::remove(const String& name) { |
const String lowercasedName = name.lower(); |
for (size_t i = 0; i < m_headerList.size();) { |
if (m_headerList[i]->first == lowercasedName) |
- m_headerList.remove(i); |
+ m_headerList.erase(i); |
else |
++i; |
} |
@@ -150,7 +150,7 @@ void FetchHeaderList::sortAndCombine() { |
if (m_headerList[index - 1]->first == m_headerList[index]->first) { |
m_headerList[index - 1]->second.append(","); |
m_headerList[index - 1]->second.append(m_headerList[index]->second); |
- m_headerList.remove(index, 1); |
+ m_headerList.erase(index, 1); |
} |
} |
} |