| Index: Source/core/svg/SVGStyledElement.cpp
|
| diff --git a/Source/core/svg/SVGStyledElement.cpp b/Source/core/svg/SVGStyledElement.cpp
|
| index 718a9382189e6e53ab7e87e72731ccd16b0f6c55..20fd2e0aa0194e43ddc058f1ad5068c7acf2786f 100644
|
| --- a/Source/core/svg/SVGStyledElement.cpp
|
| +++ b/Source/core/svg/SVGStyledElement.cpp
|
| @@ -90,7 +90,7 @@ String SVGStyledElement::title() const
|
| // that do enable SVG in a shadow tree.
|
| ASSERT(!shadowHostElement || shadowHostElement->hasTagName(SVGNames::useTag));
|
| if (shadowHostElement && shadowHostElement->hasTagName(SVGNames::useTag)) {
|
| - SVGUseElement* useElement = static_cast<SVGUseElement*>(shadowHostElement);
|
| + SVGUseElement* useElement = toSVGUseElement(shadowHostElement);
|
|
|
| // If the <use> title is not empty we found the title to use.
|
| String useTitle(useElement->title());
|
|
|