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

Unified Diff: third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.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/cssom/FilteredComputedStylePropertyMap.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp b/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp
index 27d5cbfc162700479ecc896dc053fa2dce4654d4..eaf9dcf7b6a762ff65b025f1a54bdfb01465c87b 100644
--- a/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp
@@ -12,11 +12,11 @@ FilteredComputedStylePropertyMap::FilteredComputedStylePropertyMap(
const Vector<AtomicString>& customProperties)
: ComputedStylePropertyMap(computedStyleDeclaration) {
for (const auto& nativeProperty : nativeProperties) {
- m_nativeProperties.add(nativeProperty);
+ m_nativeProperties.insert(nativeProperty);
}
for (const auto& customProperty : customProperties) {
- m_customProperties.add(customProperty);
+ m_customProperties.insert(customProperty);
}
}

Powered by Google App Engine
This is Rietveld 408576698