Index: third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp b/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp |
index 2699ecfb041939ee685ec4f0c09b6d9e9546cf77..73dc097422dd661508b4e3b0c36249a6d26c8fb9 100644 |
--- a/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp |
@@ -151,7 +151,7 @@ void RadioButtonGroup::remove(HTMLInputElement* button) { |
bool wasValid = isValid(); |
DCHECK_EQ(it->value, button->isRequired()); |
updateRequiredButton(*it, false); |
- m_members.remove(it); |
+ m_members.erase(it); |
if (m_checkedButton == button) |
m_checkedButton = nullptr; |