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

Unified Diff: Source/platform/exported/WebHTTPLoadInfo.cpp

Issue 167123002: Simpler return value from HashTable::add()/HashMap::add() and others (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 months 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/webdatabase/SQLTransactionCoordinator.cpp ('k') | Source/platform/fonts/WidthCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebHTTPLoadInfo.cpp
diff --git a/Source/platform/exported/WebHTTPLoadInfo.cpp b/Source/platform/exported/WebHTTPLoadInfo.cpp
index db4da5a0d3daa73669a6f1977d2a79ca1dca064a..a03ef78b7097b80d5316f0c8fa66da64585c2c4a 100644
--- a/Source/platform/exported/WebHTTPLoadInfo.cpp
+++ b/Source/platform/exported/WebHTTPLoadInfo.cpp
@@ -105,7 +105,7 @@ static void addHeader(HTTPHeaderMap* map, const WebString& name, const WebString
HTTPHeaderMap::AddResult result = map->add(name, value);
// It is important that values are separated by '\n', not comma, otherwise Set-Cookie header is not parseable.
if (!result.isNewEntry)
- result.iterator->value = result.iterator->value + "\n" + String(value);
+ result.storedValue->value = result.storedValue->value + "\n" + String(value);
}
void WebHTTPLoadInfo::addRequestHeader(const WebString& name, const WebString& value)
« no previous file with comments | « Source/modules/webdatabase/SQLTransactionCoordinator.cpp ('k') | Source/platform/fonts/WidthCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698