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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchResponseDataTest.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/modules/fetch/FetchResponseDataTest.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchResponseDataTest.cpp b/third_party/WebKit/Source/modules/fetch/FetchResponseDataTest.cpp
index 13a40a8dd04c3a9ce3aa7d698f317590b2b54330..b81076e2e5eaf23f6aa91bff75f3644aa5ff33eb 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchResponseDataTest.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchResponseDataTest.cpp
@@ -171,8 +171,8 @@ TEST_F(FetchResponseDataTest,
TEST_F(FetchResponseDataTest, CORSFilterWithExplicitHeaderSet) {
FetchResponseData* internalResponse = createInternalResponse();
HTTPHeaderSet exposedHeaders;
- exposedHeaders.add("set-cookie");
- exposedHeaders.add("bar");
+ exposedHeaders.insert("set-cookie");
+ exposedHeaders.insert("bar");
FetchResponseData* corsResponseData =
internalResponse->createCORSFilteredResponse(exposedHeaders);
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/FetchResponseData.cpp ('k') | third_party/WebKit/Source/modules/fetch/Response.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698