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

Unified Diff: third_party/WebKit/Source/core/animation/SampledEffect.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/animation/SampledEffect.cpp
diff --git a/third_party/WebKit/Source/core/animation/SampledEffect.cpp b/third_party/WebKit/Source/core/animation/SampledEffect.cpp
index 93faf1b10f34903f3892681808e7f4192706bc27..2d2aa74fbd8d732c79f5aa2d1a0f6f513bae65e7 100644
--- a/third_party/WebKit/Source/core/animation/SampledEffect.cpp
+++ b/third_party/WebKit/Source/core/animation/SampledEffect.cpp
@@ -34,7 +34,7 @@ void SampledEffect::updateReplacedProperties(
HashSet<PropertyHandle>& replacedProperties) {
for (const auto& interpolation : m_interpolations) {
if (!interpolation->dependsOnUnderlyingValue())
- replacedProperties.add(interpolation->getProperty());
+ replacedProperties.insert(interpolation->getProperty());
}
}

Powered by Google App Engine
This is Rietveld 408576698