| Index: Source/core/svg/SVGFontFaceUriElement.cpp
|
| diff --git a/Source/core/svg/SVGFontFaceUriElement.cpp b/Source/core/svg/SVGFontFaceUriElement.cpp
|
| index f4b2b27461b1eccbbb63558f411e7ec46a69b896..686a73ebf27d68855a667e624b2dc44db4a43116 100644
|
| --- a/Source/core/svg/SVGFontFaceUriElement.cpp
|
| +++ b/Source/core/svg/SVGFontFaceUriElement.cpp
|
| @@ -75,8 +75,8 @@ void SVGFontFaceUriElement::childrenChanged(bool changedByParser, Node* beforeCh
|
| return;
|
|
|
| ContainerNode* grandparent = parentNode()->parentNode();
|
| - if (grandparent && grandparent->hasTagName(font_faceTag))
|
| - toSVGFontFaceElement(grandparent)->rebuildFontFace();
|
| + if (isSVGFontFaceElement(grandparent))
|
| + toSVGFontFaceElement(*grandparent).rebuildFontFace();
|
| }
|
|
|
| Node::InsertionNotificationRequest SVGFontFaceUriElement::insertedInto(ContainerNode* rootParent)
|
|
|