| Index: third_party/WebKit/Source/core/html/FormData.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/FormData.cpp b/third_party/WebKit/Source/core/html/FormData.cpp
|
| index a64afadf9d63c06b15aa549e4dc5c226bf60677d..4b691864f4957aec887abb4e9e719468306534f3 100644
|
| --- a/third_party/WebKit/Source/core/html/FormData.cpp
|
| +++ b/third_party/WebKit/Source/core/html/FormData.cpp
|
| @@ -117,7 +117,7 @@ void FormData::deleteEntry(const String& name) {
|
| size_t i = 0;
|
| while (i < m_entries.size()) {
|
| if (m_entries[i]->name() == encodedName) {
|
| - m_entries.remove(i);
|
| + m_entries.erase(i);
|
| } else {
|
| ++i;
|
| }
|
| @@ -184,7 +184,7 @@ void FormData::setEntry(const Entry* entry) {
|
| if (m_entries[i]->name() != encodedName) {
|
| ++i;
|
| } else if (found) {
|
| - m_entries.remove(i);
|
| + m_entries.erase(i);
|
| } else {
|
| found = true;
|
| m_entries[i] = entry;
|
|
|