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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectModel.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/KeyframeEffectModel.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp
index 4823857e648d0d19ba940a78fe92e6c627d6bbd4..01910a4a9b3acdf8f793ec6f8ab2a2d0fb1420f7 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp
@@ -195,8 +195,8 @@ void KeyframeEffectModelBase::ensureKeyframeGroups() const {
PropertySpecificKeyframeGroup* group;
if (groupIter == m_keyframeGroups->end()) {
group = m_keyframeGroups
- ->add(property,
- WTF::wrapUnique(new PropertySpecificKeyframeGroup))
+ ->insert(property,
+ WTF::wrapUnique(new PropertySpecificKeyframeGroup))
.storedValue->value.get();
} else {
group = groupIter->value.get();

Powered by Google App Engine
This is Rietveld 408576698