| Index: Source/core/svg/SVGTitleElement.cpp
|
| diff --git a/Source/core/svg/SVGTitleElement.cpp b/Source/core/svg/SVGTitleElement.cpp
|
| index 1f45f85401080613b79120ba48e5afdf71d3b108..bb52dbf03ed8e8224460ce7e72dba08c1ce721c8 100644
|
| --- a/Source/core/svg/SVGTitleElement.cpp
|
| +++ b/Source/core/svg/SVGTitleElement.cpp
|
| @@ -39,7 +39,7 @@ Node::InsertionNotificationRequest SVGTitleElement::insertedInto(ContainerNode*
|
| SVGElement::insertedInto(rootParent);
|
| if (!rootParent->inDocument())
|
| return InsertionDone;
|
| - if (firstChild() && document().isSVGDocument())
|
| + if (hasChildren() && document().isSVGDocument())
|
| document().setTitleElement(this);
|
| return InsertionDone;
|
| }
|
|
|