| Index: Source/core/html/RadioNodeList.cpp
|
| diff --git a/Source/core/html/RadioNodeList.cpp b/Source/core/html/RadioNodeList.cpp
|
| index 66fd5dc03b390f239c499fc5dca8ba3bd349ba56..5768dcf135efd2625665e8ab4b2adf5546cd0ac0 100644
|
| --- a/Source/core/html/RadioNodeList.cpp
|
| +++ b/Source/core/html/RadioNodeList.cpp
|
| @@ -92,7 +92,7 @@ bool RadioNodeList::checkElementMatchesRadioNodeListFilter(Element* testElement)
|
| if (testElement->hasTagName(objectTag))
|
| formElement = static_cast<HTMLObjectElement*>(testElement)->form();
|
| else
|
| - formElement = static_cast<HTMLFormControlElement*>(testElement)->form();
|
| + formElement = toHTMLFormControlElement(testElement)->form();
|
| if (!formElement || formElement != ownerNode())
|
| return false;
|
| }
|
|
|