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

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

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/core/xml/XMLHttpRequest.cpp ('k') | Source/platform/network/HTTPHeaderMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/HTTPHeaderMap.h
diff --git a/Source/platform/network/HTTPHeaderMap.h b/Source/platform/network/HTTPHeaderMap.h
index 8b3be52c8d37e58f5dec745b90b9ec8fe4b94eaa..e58ede1fb07d40b4c4deb4739edec0846a869f91 100644
--- a/Source/platform/network/HTTPHeaderMap.h
+++ b/Source/platform/network/HTTPHeaderMap.h
@@ -51,7 +51,7 @@ public:
void adopt(PassOwnPtr<CrossThreadHTTPHeaderMapData>);
- AtomicString get(const AtomicString& name) const;
+ const AtomicString& get(const AtomicString& name) const;
AddResult add(const AtomicString& name, const AtomicString& value);
« no previous file with comments | « Source/core/xml/XMLHttpRequest.cpp ('k') | Source/platform/network/HTTPHeaderMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698