rareDataMap.remove(it);
}
ASSERT(document());
- document()->accessSVGExtensions()->removeAllAnimationElementsFromTarget(this);
document()->accessSVGExtensions()->removeAllElementReferencesForTarget(this);
}
StyledElement::removedFrom(rootParent);
if (wasInDocument) {
- document()->accessSVGExtensions()->removeAllAnimationElementsFromTarget(this);
document()->accessSVGExtensions()->removeAllElementReferencesForTarget(this);
document()->accessSVGExtensions()->removeElementFromPendingResources(this);
}
{
StyledElement::attributeChanged(name, newValue);
- if (isIdAttributeName(name)) {
- document()->accessSVGExtensions()->removeAllAnimationElementsFromTarget(this);
+ if (isIdAttributeName(name))
document()->accessSVGExtensions()->removeAllElementReferencesForTarget(this);
- }
// Changes to the style attribute are processed lazily (see Element::getAttribute() and related methods),
// so we don't want changes to the style attribute to result in extra work here.