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

Unified Diff: third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.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/core/frame/SubresourceIntegrityTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp b/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp
index 7beac2f5ada1765e655e4d7b8dc38e34b12ee807..13240b7772aa8e63bed6741e4015ba30f6c19c49 100644
--- a/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp
+++ b/third_party/WebKit/Source/core/frame/SubresourceIntegrityTest.cpp
@@ -141,7 +141,7 @@ class SubresourceIntegrityTest : public ::testing::Test {
size_t expectedMetadataArraySize) {
IntegrityMetadataSet expectedMetadataSet;
for (size_t i = 0; i < expectedMetadataArraySize; i++) {
- expectedMetadataSet.add(expectedMetadataArray[i].toPair());
+ expectedMetadataSet.insert(expectedMetadataArray[i].toPair());
}
IntegrityMetadataSet metadataSet;
EXPECT_EQ(SubresourceIntegrity::IntegrityParseValidResult,

Powered by Google App Engine
This is Rietveld 408576698