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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp

Issue 2725063003: Migrate WTF::LinkedHashSet/ListHashSet/HashTable::remove() to ::erase() (Closed)
Patch Set: rebase Created 3 years, 9 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/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
index 6e422b5529fe4303d7dd213cecbe9dc5233b1c56..942f7cdb7195e4e92faf89dd68b954df72b51bf2 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
@@ -69,7 +69,7 @@ void V0CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element) {
UnresolvedDefinitionMap::iterator elements =
m_unresolvedDefinitions.find(candidate->value);
SECURITY_DCHECK(elements != m_unresolvedDefinitions.end());
- elements->value->remove(element);
+ elements->value->erase(element);
m_upgradeCandidates.remove(candidate);
}

Powered by Google App Engine
This is Rietveld 408576698