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* |