| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index 60ae7beda9c0d388422ac44361c2734a80df6604..455274cba9520118913eac7c4abcd0c40cee6026 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -969,7 +969,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);
|
|
|