| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index 6948862db97f83d1a2bb1e78b15593670365dc40..325bdb050e6dcda57008a871543f5247c4aa8ad3 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -981,7 +981,7 @@ void SVGElement::svgAttributeChanged(const QualifiedName& attrName)
|
| RenderObject* object = renderer();
|
| // Notify resources about id changes, this is important as we cache resources by id in SVGDocumentExtensions
|
| if (object && object->isSVGResourceContainer())
|
| - object->toRenderSVGResourceContainer()->idChanged();
|
| + toRenderSVGResourceContainer(object)->idChanged();
|
| if (inDocument())
|
| buildPendingResourcesIfNeeded();
|
| SVGElementInstance::invalidateAllInstancesOfElement(this);
|
|
|