Index: third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h |
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h b/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h |
index 19f8ac5179a83e7e012e869829a762b012708db4..120e0e2c7154b9bcb851d2c37d4baa949c4460eb 100644 |
--- a/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h |
+++ b/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h |
@@ -235,7 +235,7 @@ ItemProperty* SVGListPropertyHelper<Derived, ItemProperty>::removeItem( |
} |
DCHECK_EQ(m_values.at(index)->ownerList(), this); |
ItemPropertyType* oldItem = m_values.at(index); |
- m_values.remove(index); |
+ m_values.erase(index); |
oldItem->setOwnerList(0); |
return oldItem; |
} |