void SVGUseElement::clearShadowTree()
{
    clearInstanceRoot();

    // FIXME: We should try to optimize this, to at least allow partial reclones.
    if (ShadowRoot* shadowTreeRootElement = userAgentShadowRoot())
        shadowTreeRootElement->removeChildren(OmitSubtreeModifiedEvent);

    removeAllOutgoingReferences();
}
Esempio n. 2
0
void SVGMPathElement::clearResourceReferences() {
    removeAllOutgoingReferences();
}
void SVGSMILElement::clearResourceAndEventBaseReferences()
{
    removeAllOutgoingReferences();
}