Index: third_party/WebKit/Source/core/dom/NodeRareData.h |
diff --git a/third_party/WebKit/Source/core/dom/NodeRareData.h b/third_party/WebKit/Source/core/dom/NodeRareData.h |
index d08dd577a3c453ae389829849d941d65d1641cef..753871d676854f49a1f8f5789e71f0629c6c366c 100644 |
--- a/third_party/WebKit/Source/core/dom/NodeRareData.h |
+++ b/third_party/WebKit/Source/core/dom/NodeRareData.h |
@@ -66,7 +66,7 @@ class NodeMutationObserverData final |
void removeRegistration(MutationObserverRegistration* registration) { |
DCHECK(m_registry.contains(registration)); |
- m_registry.remove(m_registry.find(registration)); |
+ m_registry.erase(m_registry.find(registration)); |
} |
DEFINE_INLINE_TRACE() { |