diff options
Diffstat (limited to 'Source/WebCore/svg/SVGTitleElement.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGTitleElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/svg/SVGTitleElement.cpp b/Source/WebCore/svg/SVGTitleElement.cpp index 6281f10..ebcddb4 100644 --- a/Source/WebCore/svg/SVGTitleElement.cpp +++ b/Source/WebCore/svg/SVGTitleElement.cpp @@ -40,7 +40,7 @@ void SVGTitleElement::insertedIntoDocument() { SVGStyledElement::insertedIntoDocument(); if (firstChild()) - document()->setTitle(textContent(), this); + document()->setTitleElement(textContent(), this); } void SVGTitleElement::removedFromDocument() @@ -53,7 +53,7 @@ void SVGTitleElement::childrenChanged(bool changedByParser, Node* beforeChange, { SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); if (inDocument()) - document()->setTitle(textContent(), this); + document()->setTitleElement(textContent(), this); } AttributeToPropertyTypeMap& SVGTitleElement::attributeToPropertyTypeMap() |