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

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

Issue 99733002: Update HTTPHeaderMap wrappers to use AtomicString type for header values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master 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/modules/websockets/WebSocketHandshake.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 6c4be87407a71d5f928ed848a09a87a785245015..8b3be52c8d37e58f5dec745b90b9ec8fe4b94eaa 100644
--- a/Source/platform/network/HTTPHeaderMap.h
+++ b/Source/platform/network/HTTPHeaderMap.h
@@ -57,7 +57,7 @@ public:
// Alternate accessors that are faster than converting the char* to AtomicString first.
bool contains(const char*) const;
- AtomicString get(const char*) const;
+ const AtomicString& get(const char*) const;
AddResult add(const char* name, const AtomicString& value);
};
« no previous file with comments | « Source/modules/websockets/WebSocketHandshake.cpp ('k') | Source/platform/network/HTTPHeaderMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698