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

Unified Diff: third_party/WebKit/Source/core/animation/EffectStack.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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/EffectStack.cpp
diff --git a/third_party/WebKit/Source/core/animation/EffectStack.cpp b/third_party/WebKit/Source/core/animation/EffectStack.cpp
index fe94d846c968050353e0f46636fcd63b99ad81f1..e136381f5c9bec9183c5e47bd052847957d640ce 100644
--- a/third_party/WebKit/Source/core/animation/EffectStack.cpp
+++ b/third_party/WebKit/Source/core/animation/EffectStack.cpp
@@ -50,7 +50,7 @@ void copyToActiveInterpolationsMap(
if (propertyHandleFilter && !propertyHandleFilter(property))
continue;
ActiveInterpolationsMap::AddResult entry =
- target.add(property, ActiveInterpolations(1));
+ target.insert(property, ActiveInterpolations(1));
ActiveInterpolations& activeInterpolations = entry.storedValue->value;
if (!entry.isNewEntry &&
(RuntimeEnabledFeatures::stackedCSSPropertyAnimationsEnabled() ||

Powered by Google App Engine
This is Rietveld 408576698