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

Unified Diff: Source/platform/network/HTTPRequest.cpp

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/platform/network/HTTPRequest.h ('k') | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/HTTPRequest.cpp
diff --git a/Source/platform/network/HTTPRequest.cpp b/Source/platform/network/HTTPRequest.cpp
index c9ce45aa7fb391ae054077c38381e1a7a41d07ed..b25aa8f3493c6a3cf49935df0df96da2f20f55ff 100644
--- a/Source/platform/network/HTTPRequest.cpp
+++ b/Source/platform/network/HTTPRequest.cpp
@@ -81,7 +81,7 @@ size_t HTTPRequest::parseHeaders(const char* data, size_t length, String& failur
const char* p = data;
const char* end = data + length;
AtomicString name;
- String value;
+ AtomicString value;
for (; p < data + length; p++) {
size_t consumedLength = parseHTTPHeader(p, end - p, failureReason, name, value);
if (!consumedLength)
« no previous file with comments | « Source/platform/network/HTTPRequest.h ('k') | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698