Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: third_party/WebKit/Source/platform/network/HTTPHeaderMap.h

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
diff --git a/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h b/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
index 0afe028a0fe93e06d2bbb21947fd945670f2968c..1e87743adf1739c46b13c1b0e8c85b338218ffbd 100644
--- a/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
+++ b/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
@@ -74,7 +74,7 @@ class PLATFORM_EXPORT HTTPHeaderMap final {
AddResult add(const AtomicString& k, const AtomicString& v) {
return m_headers.add(k, v);
}
- void remove(const AtomicString& k) { m_headers.remove(k); }
+ void remove(const AtomicString& k) { m_headers.erase(k); }
bool operator!=(const HTTPHeaderMap& rhs) const {
return m_headers != rhs.m_headers;
}

Powered by Google App Engine
This is Rietveld 408576698