| Index: Source/core/html/HTMLLegendElement.cpp
|
| diff --git a/Source/core/html/HTMLLegendElement.cpp b/Source/core/html/HTMLLegendElement.cpp
|
| index 118238e33587714d6ceaa2260e47da26666dfcaf..e42467ab59117c8ccd216de62b4546f27165acf8 100644
|
| --- a/Source/core/html/HTMLLegendElement.cpp
|
| +++ b/Source/core/html/HTMLLegendElement.cpp
|
| @@ -92,7 +92,7 @@ HTMLFormElement* HTMLLegendElement::virtualForm() const
|
| if (!fieldset || !fieldset->hasTagName(fieldsetTag))
|
| return 0;
|
|
|
| - return static_cast<HTMLFieldSetElement*>(fieldset)->form();
|
| + return toHTMLFieldSetElement(fieldset)->form();
|
| }
|
|
|
| } // namespace
|
|
|