Index: Source/core/svg/SVGFontFaceElement.cpp |
diff --git a/Source/core/svg/SVGFontFaceElement.cpp b/Source/core/svg/SVGFontFaceElement.cpp |
index 9464886ab3df2594818216e9326f6d001683bdd1..5430c487dadf2cf79be4c93abfa771b2034189b5 100644 |
--- a/Source/core/svg/SVGFontFaceElement.cpp |
+++ b/Source/core/svg/SVGFontFaceElement.cpp |
@@ -264,7 +264,7 @@ String SVGFontFaceElement::fontFamily() const |
SVGFontElement* SVGFontFaceElement::associatedFontElement() const |
{ |
ASSERT(parentNode() == m_fontElement); |
- ASSERT(!parentNode() || parentNode()->hasTagName(SVGNames::fontTag)); |
+ ASSERT(!parentNode() || isSVGFontElement(*parentNode())); |
return m_fontElement; |
} |