| Index: Source/core/svg/SVGTitleElement.cpp
|
| diff --git a/Source/core/svg/SVGTitleElement.cpp b/Source/core/svg/SVGTitleElement.cpp
|
| index 08c23574eb1d8d3d9ef838bba686bfa2f3e6297c..1f45f85401080613b79120ba48e5afdf71d3b108 100644
|
| --- a/Source/core/svg/SVGTitleElement.cpp
|
| +++ b/Source/core/svg/SVGTitleElement.cpp
|
| @@ -40,7 +40,7 @@ Node::InsertionNotificationRequest SVGTitleElement::insertedInto(ContainerNode*
|
| if (!rootParent->inDocument())
|
| return InsertionDone;
|
| if (firstChild() && document().isSVGDocument())
|
| - document().setTitleElement(textContent(), this);
|
| + document().setTitleElement(this);
|
| return InsertionDone;
|
| }
|
|
|
| @@ -55,7 +55,7 @@ void SVGTitleElement::childrenChanged(const ChildrenChange& change)
|
| {
|
| SVGElement::childrenChanged(change);
|
| if (inDocument() && document().isSVGDocument())
|
| - document().setTitleElement(textContent(), this);
|
| + document().setTitleElement(this);
|
| }
|
|
|
| }
|
|
|