summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom/CheckedRadioButtons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/CheckedRadioButtons.cpp')
-rw-r--r--Source/WebCore/dom/CheckedRadioButtons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/dom/CheckedRadioButtons.cpp b/Source/WebCore/dom/CheckedRadioButtons.cpp
index 3cf8848..20662a2 100644
--- a/Source/WebCore/dom/CheckedRadioButtons.cpp
+++ b/Source/WebCore/dom/CheckedRadioButtons.cpp
@@ -77,7 +77,7 @@ void CheckedRadioButtons::removeButton(HTMLFormControlElement* element)
if (it == m_nameToCheckedRadioButtonMap->end() || it->second != element)
return;
- InputElement* inputElement = toInputElement(element);
+ InputElement* inputElement = element->toInputElement();
ASSERT_UNUSED(inputElement, inputElement);
ASSERT(inputElement->isChecked());
ASSERT(element->isRadioButton());