if (!rootParent->inDocument())
return InsertionDone;
if (firstChild() && document().isSVGDocument())
- document().setTitleElement(textContent(), this);
+ document().setTitleElement(this);
return InsertionDone;
}
{
SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
if (inDocument() && document().isSVGDocument())
- document().setTitleElement(textContent(), this);
+ document().setTitleElement(this);
}
}