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

Unified Diff: third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.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/svg/animation/SMILTimeContainer.cpp
diff --git a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
index 65241a752427d9ac3ed45ab0f65757f5ed5693e3..b644b0cff08edcbadcf3f71bf68bd9d61ad43d19 100644
--- a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
+++ b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
@@ -77,7 +77,7 @@ void SMILTimeContainer::schedule(SVGSMILElement* animation,
ElementAttributePair key(target, attributeName);
Member<AnimationsLinkedHashSet>& scheduled =
- m_scheduledAnimations.add(key, nullptr).storedValue->value;
+ m_scheduledAnimations.insert(key, nullptr).storedValue->value;
if (!scheduled)
scheduled = new AnimationsLinkedHashSet;
ASSERT(!scheduled->contains(animation));

Powered by Google App Engine
This is Rietveld 408576698