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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTreeScopeResources.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/SVGTreeScopeResources.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp b/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp
index 7b477946ec45e5b024162e445390d4e9b2ed5b32..8a70b810a2e0cf617166ce9cbe882a921d687044 100644
--- a/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp
@@ -55,7 +55,7 @@ void SVGTreeScopeResources::addPendingResource(const AtomicString& id,
m_pendingResources.add(id, nullptr);
if (result.isNewEntry)
result.storedValue->value = new SVGPendingElements;
- result.storedValue->value->add(element);
+ result.storedValue->value->insert(element);
element->setHasPendingResources();
}

Powered by Google App Engine
This is Rietveld 408576698