Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index 54669b40f5a9bb14fca0be788e54c62ba68c47dd..ede160ed3cbf49311ac05533384ec175944039e4 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -3748,7 +3748,7 @@ void Element::detachAttrNodeFromElementWithValue(Attr* attrNode, |
AttrNodeList* list = attrNodeList(); |
size_t index = list->find(attrNode); |
DCHECK_NE(index, kNotFound); |
- list->remove(index); |
+ list->erase(index); |
if (list->isEmpty()) |
removeAttrNodeList(); |
} |