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

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

Issue 2696183002: Migrate WTF::HashSet::remove() to ::erase() [part 1] (Closed)
Patch Set: one more platform-specific reference 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/SVGSMILElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
index c9787a81bd85d97b32616e599fc1bae9034492ab..8d8ba5783d7a77f276227ea00b22858a02c7f404 100644
--- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
+++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
@@ -1184,7 +1184,7 @@ void SVGSMILElement::notifyDependentsIntervalChanged() {
for (SVGSMILElement* element : m_syncBaseDependents)
element->createInstanceTimesFromSyncbase(this);
- loopBreaker.remove(this);
+ loopBreaker.erase(this);
}
void SVGSMILElement::createInstanceTimesFromSyncbase(SVGSMILElement* syncBase) {
@@ -1222,7 +1222,7 @@ void SVGSMILElement::addSyncBaseDependent(SVGSMILElement* animation) {
}
void SVGSMILElement::removeSyncBaseDependent(SVGSMILElement* animation) {
- m_syncBaseDependents.remove(animation);
+ m_syncBaseDependents.erase(animation);
}
void SVGSMILElement::handleConditionEvent(Event* event, Condition* condition) {

Powered by Google App Engine
This is Rietveld 408576698