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

Unified Diff: third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp

Issue 2724363002: Migrate WTF::LinkedHashSet/ListHashSet::add() to ::insert() (Closed)
Patch Set: 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 a87c533290e9d7ca15a5bb5728086ae4ade343fd..d52c8b1b115e0806985a601008c7f9014d2a4de0 100644
--- a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
+++ b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
@@ -84,7 +84,7 @@ void SMILTimeContainer::schedule(SVGSMILElement* animation,
if (!scheduled)
scheduled = new AnimationsLinkedHashSet;
ASSERT(!scheduled->contains(animation));
- scheduled->add(animation);
+ scheduled->insert(animation);
SMILTime nextFireTime = animation->nextProgressTime();
if (nextFireTime.isFinite())

Powered by Google App Engine
This is Rietveld 408576698