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

Unified Diff: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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/SVGDocumentExtensions.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
index 9c656a46483a7fbb922ebb3913d3ed7f79e39149..e90e1f069f4e9a0f1ffb674eba54c54bd9205da5 100644
--- a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
@@ -37,7 +37,7 @@ SVGDocumentExtensions::SVGDocumentExtensions(Document* document)
SVGDocumentExtensions::~SVGDocumentExtensions() {}
void SVGDocumentExtensions::addTimeContainer(SVGSVGElement* element) {
- m_timeContainers.add(element);
+ m_timeContainers.insert(element);
}
void SVGDocumentExtensions::removeTimeContainer(SVGSVGElement* element) {
@@ -47,7 +47,7 @@ void SVGDocumentExtensions::removeTimeContainer(SVGSVGElement* element) {
void SVGDocumentExtensions::addWebAnimationsPendingSVGElement(
SVGElement& element) {
ASSERT(RuntimeEnabledFeatures::webAnimationsSVGEnabled());
- m_webAnimationsPendingSVGElements.add(&element);
+ m_webAnimationsPendingSVGElements.insert(&element);
}
void SVGDocumentExtensions::serviceOnAnimationFrame(Document& document) {
@@ -122,7 +122,7 @@ void SVGDocumentExtensions::reportError(const String& message) {
void SVGDocumentExtensions::addSVGRootWithRelativeLengthDescendents(
SVGSVGElement* svgRoot) {
ASSERT(!m_inRelativeLengthSVGRootsInvalidation);
- m_relativeLengthSVGRoots.add(svgRoot);
+ m_relativeLengthSVGRoots.insert(svgRoot);
}
void SVGDocumentExtensions::removeSVGRootWithRelativeLengthDescendents(
« no previous file with comments | « third_party/WebKit/Source/core/paint/TableSectionPainter.cpp ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698