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

Unified Diff: Source/platform/network/ResourceResponse.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/platform/network/ResourceRequest.cpp ('k') | Source/platform/network/ResourceResponse.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceResponse.h
diff --git a/Source/platform/network/ResourceResponse.h b/Source/platform/network/ResourceResponse.h
index 6944da3a96daa8be7fe940fd2e7bee6d426a91a4..93e9fe6578b81119f5f1f5809db9df20b2ba1afa 100644
--- a/Source/platform/network/ResourceResponse.h
+++ b/Source/platform/network/ResourceResponse.h
@@ -85,7 +85,7 @@ public:
const AtomicString& httpStatusText() const;
void setHTTPStatusText(const AtomicString&);
- AtomicString httpHeaderField(const AtomicString& name) const;
+ const AtomicString& httpHeaderField(const AtomicString& name) const;
const AtomicString& httpHeaderField(const char* name) const;
void setHTTPHeaderField(const AtomicString& name, const AtomicString& value);
void addHTTPHeaderField(const AtomicString& name, const AtomicString& value);
« no previous file with comments | « Source/platform/network/ResourceRequest.cpp ('k') | Source/platform/network/ResourceResponse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698