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

Unified Diff: Source/platform/network/HTTPHeaderMap.cpp

Issue 102103002: Have HashMap<KeyType, AtomicString>::get() return a const reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use AtomicString::ConstructFromLiteral Created 7 years 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
« no previous file with comments | « Source/platform/network/HTTPHeaderMap.h ('k') | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/HTTPHeaderMap.cpp
diff --git a/Source/platform/network/HTTPHeaderMap.cpp b/Source/platform/network/HTTPHeaderMap.cpp
index b950ef34b12704dfb0e1ad0b4393bee340502a6a..bc4cf076b8fe6ff63e6bf7d829df3ce387dd1dbc 100644
--- a/Source/platform/network/HTTPHeaderMap.cpp
+++ b/Source/platform/network/HTTPHeaderMap.cpp
@@ -66,7 +66,7 @@ void HTTPHeaderMap::adopt(PassOwnPtr<CrossThreadHTTPHeaderMapData> data)
}
}
-AtomicString HTTPHeaderMap::get(const AtomicString& name) const
+const AtomicString& HTTPHeaderMap::get(const AtomicString& name) const
{
return HashMap<AtomicString, AtomicString, CaseFoldingHash>::get(name);
}
« no previous file with comments | « Source/platform/network/HTTPHeaderMap.h ('k') | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698