Index: Source/core/fetch/FontResource.cpp |
diff --git a/Source/core/fetch/FontResource.cpp b/Source/core/fetch/FontResource.cpp |
index 65d7d44ffe61991682bc9e1c7e3d909fe09646f8..0a0138d10236ad804099fbf37f20d5237eec6bc0 100644 |
--- a/Source/core/fetch/FontResource.cpp |
+++ b/Source/core/fetch/FontResource.cpp |
@@ -143,7 +143,7 @@ SVGFontElement* FontResource::getSVGFontById(const String& fontName) const |
#ifndef NDEBUG |
for (unsigned i = 0; i < collectionLength; ++i) { |
ASSERT(collection->item(i)); |
- ASSERT(collection->item(i)->hasTagName(SVGNames::fontTag)); |
+ ASSERT(isSVGFontElement(collection->item(i))); |
} |
#endif |