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

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

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase 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 2b86e53a0beb62b4e621075e34a4c1620f93f2cd..78cdf31a50007fa146b4c2b86611766bc4474764 100644
--- a/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
+++ b/third_party/WebKit/Source/platform/network/HTTPHeaderMap.h
@@ -66,7 +66,7 @@ class PLATFORM_EXPORT HTTPHeaderMap final {
void clear() { m_headers.clear(); }
bool contains(const AtomicString& k) const { return m_headers.contains(k); }
const AtomicString& get(const AtomicString& k) const {
- return m_headers.get(k);
+ return m_headers.at(k);
}
AddResult set(const AtomicString& k, const AtomicString& v) {
return m_headers.set(k, v);

Powered by Google App Engine
This is Rietveld 408576698