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

Unified Diff: third_party/WebKit/Source/platform/network/HTTPParsers.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Source/platform/network/HTTPParsers.cpp
diff --git a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
index 3ca4b69350a71ee5876be1be4d016cd8d47081de..7ed28d653ef8fe7f23b5d6aadbd6f918c8f0befd 100644
--- a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
+++ b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
@@ -764,7 +764,7 @@ void parseCommaDelimitedHeader(const String& headerValue,
Vector<String> results;
headerValue.split(",", results);
for (auto& value : results)
- headerSet.add(value.stripWhiteSpace(isWhitespace));
+ headerSet.insert(value.stripWhiteSpace(isWhitespace));
}
bool parseSuboriginHeader(const String& header,

Powered by Google App Engine
This is Rietveld 408576698