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

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: 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
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);

Powered by Google App Engine
This is Rietveld 408576698