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

Unified Diff: third_party/WebKit/Source/core/svg/SVGRadialGradientElement.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/SVGRadialGradientElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp b/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp
index ce9fc398d8ebe925d0f10f46d0e676a6ccc41d77..b368ba24543eb067e99c6d5e7e7bcdb3ac4659bb 100644
--- a/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp
@@ -158,7 +158,7 @@ bool SVGRadialGradientElement::collectGradientAttributes(
SVGGradientElement* current = this;
setGradientAttributes(current, attributes);
- processedGradients.add(current);
+ processedGradients.insert(current);
while (true) {
// Respect xlink:href, take attributes from referenced element
@@ -176,7 +176,7 @@ bool SVGRadialGradientElement::collectGradientAttributes(
setGradientAttributes(current, attributes,
isSVGRadialGradientElement(*current));
- processedGradients.add(current);
+ processedGradients.insert(current);
} else {
break;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPatternElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698