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

Unified Diff: third_party/WebKit/Source/core/html/HTMLDocument.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/html/HTMLDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLDocument.cpp b/third_party/WebKit/Source/core/html/HTMLDocument.cpp
index 358922baa38f90fd878572b784aeaed5cc82c6f4..e100e978ee85aff45e81b91e6698fe8a8761e80f 100644
--- a/third_party/WebKit/Source/core/html/HTMLDocument.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLDocument.cpp
@@ -210,7 +210,7 @@ static HashSet<StringImpl*>* createHtmlCaseInsensitiveAttributesSet() {
attrSet->reserveCapacityForSize(WTF_ARRAY_LENGTH(caseInsensitiveAttributes));
for (const QualifiedName* attr : caseInsensitiveAttributes)
- attrSet->add(attr->localName().impl());
+ attrSet->insert(attr->localName().impl());
return attrSet;
}

Powered by Google App Engine
This is Rietveld 408576698