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

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

Issue 2759703002: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: rebase, fix one platform-specific reference 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 942f7cdb7195e4e92faf89dd68b954df72b51bf2..83009de7f848544667dc867a013dbea663851858 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
@@ -70,7 +70,7 @@ void V0CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element) {
m_unresolvedDefinitions.find(candidate->value);
SECURITY_DCHECK(elements != m_unresolvedDefinitions.end());
elements->value->erase(element);
- m_upgradeCandidates.remove(candidate);
+ m_upgradeCandidates.erase(candidate);
}
V0CustomElementUpgradeCandidateMap::ElementSet*

Powered by Google App Engine
This is Rietveld 408576698