Index: Source/core/svg/SVGFontElement.cpp |
diff --git a/Source/core/svg/SVGFontElement.cpp b/Source/core/svg/SVGFontElement.cpp |
index 1ebcdbf888abc0722103f0a36b9d6567a0deb45c..ae907f7daaad5d7afcef99b5a04f409b7ba1011f 100644 |
--- a/Source/core/svg/SVGFontElement.cpp |
+++ b/Source/core/svg/SVGFontElement.cpp |
@@ -47,7 +47,7 @@ inline SVGFontElement::SVGFontElement(const QualifiedName& tagName, Document* do |
, m_missingGlyph(0) |
, m_isGlyphCacheValid(false) |
{ |
- ASSERT(hasTagName(SVGNames::fontTag)); |
+ ASSERT(isSVGFontElement(this)); |
ScriptWrappable::init(this); |
registerAnimatedPropertiesForSVGFontElement(); |