Index: Source/core/svg/SVGFontFaceUriElement.cpp |
diff --git a/Source/core/svg/SVGFontFaceUriElement.cpp b/Source/core/svg/SVGFontFaceUriElement.cpp |
index 686a73ebf27d68855a667e624b2dc44db4a43116..3f05f8a65026e2f00de5b87f20556ed7b8e1c1d8 100644 |
--- a/Source/core/svg/SVGFontFaceUriElement.cpp |
+++ b/Source/core/svg/SVGFontFaceUriElement.cpp |
@@ -71,7 +71,7 @@ void SVGFontFaceUriElement::childrenChanged(bool changedByParser, Node* beforeCh |
{ |
SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); |
- if (!parentNode() || !parentNode()->hasTagName(font_face_srcTag)) |
+ if (!isSVGFontFaceSrcElement(parentNode())) |
return; |
ContainerNode* grandparent = parentNode()->parentNode(); |