| Index: Source/core/html/HTMLFormControlElement.cpp
|
| diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp
|
| index 53e4a2229b12d0ed34b0f0a3c10e6f76c9172d86..2693e52f38d7897b8b7e342c498c19d0c6414147 100644
|
| --- a/Source/core/html/HTMLFormControlElement.cpp
|
| +++ b/Source/core/html/HTMLFormControlElement.cpp
|
| @@ -106,7 +106,7 @@ void HTMLFormControlElement::updateAncestorDisabledState() const
|
| if (!legendAncestor && ancestor->hasTagName(legendTag))
|
| legendAncestor = ancestor;
|
| if (ancestor->hasTagName(fieldsetTag)) {
|
| - fieldSetAncestor = static_cast<HTMLFieldSetElement*>(ancestor);
|
| + fieldSetAncestor = toHTMLFieldSetElement(ancestor);
|
| break;
|
| }
|
| }
|
|
|