Index: third_party/WebKit/Source/core/dom/URLSearchParams.cpp |
diff --git a/third_party/WebKit/Source/core/dom/URLSearchParams.cpp b/third_party/WebKit/Source/core/dom/URLSearchParams.cpp |
index 8de28baf4f0cd8efad462c74fe61993109e34f73..3ef11e86ea4d867dfdc9a71d146135ae52a025f4 100644 |
--- a/third_party/WebKit/Source/core/dom/URLSearchParams.cpp |
+++ b/third_party/WebKit/Source/core/dom/URLSearchParams.cpp |
@@ -166,7 +166,7 @@ void URLSearchParams::append(const String& name, const String& value) { |
void URLSearchParams::deleteAllWithName(const String& name) { |
for (size_t i = 0; i < m_params.size();) { |
if (m_params[i].first == name) |
- m_params.remove(i); |
+ m_params.erase(i); |
else |
i++; |
} |
@@ -209,7 +209,7 @@ void URLSearchParams::set(const String& name, const String& value) { |
m_params[i++].second = value; |
foundMatch = true; |
} else { |
- m_params.remove(i); |
+ m_params.erase(i); |
} |
} else { |
i++; |