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

Unified Diff: Source/platform/network/WebSocketHandshakeRequest.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/platform/network/ResourceResponse.cpp ('k') | Source/platform/weborigin/SecurityPolicy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/WebSocketHandshakeRequest.cpp
diff --git a/Source/platform/network/WebSocketHandshakeRequest.cpp b/Source/platform/network/WebSocketHandshakeRequest.cpp
index 902be3becf8329ae87d8168d2a2d535cfca05ef5..c7576ae5d3982926ef8d49264c111473f158b0a8 100644
--- a/Source/platform/network/WebSocketHandshakeRequest.cpp
+++ b/Source/platform/network/WebSocketHandshakeRequest.cpp
@@ -52,7 +52,7 @@ void WebSocketHandshakeRequest::addAndMergeHeader(HTTPHeaderMap* map, const Atom
HTTPHeaderMap::AddResult result = map->add(name, value);
if (!result.isNewEntry) {
// Inspector expects the "\n" separated format.
- result.iterator->value = result.iterator->value + "\n" + String(value);
+ result.storedValue->value = result.storedValue->value + "\n" + String(value);
}
}
« no previous file with comments | « Source/platform/network/ResourceResponse.cpp ('k') | Source/platform/weborigin/SecurityPolicy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698