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

Unified Diff: Source/platform/network/ResourceRequest.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/ResourceRequest.h ('k') | Source/platform/network/ResourceResponse.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceRequest.cpp
diff --git a/Source/platform/network/ResourceRequest.cpp b/Source/platform/network/ResourceRequest.cpp
index 143122c6ca14cc62c22d6ac9381683705c39c1d7..58098c0b82b73f56d7a44d3607859ab690d7e5f0 100644
--- a/Source/platform/network/ResourceRequest.cpp
+++ b/Source/platform/network/ResourceRequest.cpp
@@ -153,7 +153,7 @@ const HTTPHeaderMap& ResourceRequest::httpHeaderFields() const
return m_httpHeaderFields;
}
-AtomicString ResourceRequest::httpHeaderField(const AtomicString& name) const
+const AtomicString& ResourceRequest::httpHeaderField(const AtomicString& name) const
{
return m_httpHeaderFields.get(name);
}
« no previous file with comments | « Source/platform/network/ResourceRequest.h ('k') | Source/platform/network/ResourceResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698