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

Unified Diff: third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.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/CSSInterpolationTypesMap.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
index df699b1acf443985f3d3cbdbf7f2a76629e91fcc..26ea49b62cd4893d26ebdf91cff66b6ff37003e0 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
@@ -313,7 +313,8 @@ const InterpolationTypes& CSSInterpolationTypesMap::get(
applicableTypes->push_back(
WTF::makeUnique<CSSValueInterpolationType>(usedProperty));
- auto addResult = applicableTypesMap.add(property, std::move(applicableTypes));
+ auto addResult =
+ applicableTypesMap.insert(property, std::move(applicableTypes));
return *addResult.storedValue->value;
}

Powered by Google App Engine
This is Rietveld 408576698