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

Unified Diff: third_party/WebKit/Source/core/svg/SVGLinearGradientElement.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/SVGLinearGradientElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp b/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp
index af4079dc6e67a5b8870c2ac13eddc2b2f6bd543b..2ee5e0431c330ffad896821db12395ce33e86116 100644
--- a/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp
@@ -143,7 +143,7 @@ bool SVGLinearGradientElement::collectGradientAttributes(
SVGGradientElement* current = this;
setGradientAttributes(current, attributes);
- processedGradients.add(current);
+ processedGradients.insert(current);
while (true) {
// Respect xlink:href, take attributes from referenced element
@@ -161,7 +161,7 @@ bool SVGLinearGradientElement::collectGradientAttributes(
setGradientAttributes(current, attributes,
isSVGLinearGradientElement(*current));
- processedGradients.add(current);
+ processedGradients.insert(current);
} else {
return true;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElementProxy.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPatternElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698