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 1c6f13aae45cfa2d2ee09a48ea7b074733fd0112..607e43ae0e9e1276d5fa4b587e6071c4291962a7 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp |
@@ -83,7 +83,7 @@ V0CustomElementUpgradeCandidateMap::takeUpgradeCandidatesFor( |
for (const auto& candidate : *candidates) { |
unobserve(candidate); |
- m_upgradeCandidates.remove(candidate); |
+ m_upgradeCandidates.erase(candidate); |
} |
return candidates; |
} |