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

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

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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 1e87743adf1739c46b13c1b0e8c85b338218ffbd..2b86e53a0beb62b4e621075e34a4c1620f93f2cd 100644
--- a/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
+++ b/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
@@ -72,7 +72,7 @@ class PLATFORM_EXPORT HTTPHeaderMap final {
return m_headers.set(k, v);
}
AddResult add(const AtomicString& k, const AtomicString& v) {
- return m_headers.add(k, v);
+ return m_headers.insert(k, v);
}
void remove(const AtomicString& k) { m_headers.erase(k); }
bool operator!=(const HTTPHeaderMap& rhs) const {
« no previous file with comments | « third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp ('k') | third_party/WebKit/Source/platform/text/BidiResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698