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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserImpl.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/css/parser/CSSParserImpl.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
index bf5c256706d9dab7b8d9d695a38abfe773665251..26c1632db36a4129783ae297216c75d11f17a3d8 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
@@ -120,7 +120,7 @@ static inline void filterProperties(
toCSSCustomPropertyDeclaration(property.value())->name();
if (seenCustomProperties.contains(name))
continue;
- seenCustomProperties.add(name);
+ seenCustomProperties.insert(name);
} else if (property.id() == CSSPropertyApplyAtRule) {
// TODO(timloh): Do we need to do anything here?
} else {

Powered by Google App Engine
This is Rietveld 408576698