| Index: Source/core/svg/SVGSVGElement.cpp
|
| diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp
|
| index d6958837e177d7c78871617396c532b19949f0c7..d10c75259572bee3219067af45308afc8edc9583 100644
|
| --- a/Source/core/svg/SVGSVGElement.cpp
|
| +++ b/Source/core/svg/SVGSVGElement.cpp
|
| @@ -718,7 +718,7 @@ void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element*
|
| if (SVGViewElement* viewElement = anchorNode->hasTagName(SVGNames::viewTag) ? static_cast<SVGViewElement*>(anchorNode) : 0) {
|
| SVGElement* element = SVGLocatable::nearestViewportElement(viewElement);
|
| if (element->hasTagName(SVGNames::svgTag)) {
|
| - SVGSVGElement* svg = static_cast<SVGSVGElement*>(element);
|
| + SVGSVGElement* svg = toSVGSVGElement(element);
|
| svg->inheritViewAttributes(viewElement);
|
|
|
| if (RenderObject* renderer = svg->renderer())
|
|
|