| Index: Source/core/loader/cache/CachedFont.cpp
|
| diff --git a/Source/core/loader/cache/CachedFont.cpp b/Source/core/loader/cache/CachedFont.cpp
|
| index 5ae164270e2a049f31d75e777669b0dc7d271b0a..cf413591da80939cd5b56f6f07c9f36eb24ac2b7 100644
|
| --- a/Source/core/loader/cache/CachedFont.cpp
|
| +++ b/Source/core/loader/cache/CachedFont.cpp
|
| @@ -130,7 +130,7 @@ SVGFontElement* CachedFont::getSVGFontById(const String& fontName) const
|
| #ifndef NDEBUG
|
| for (unsigned i = 0; i < listLength; ++i) {
|
| ASSERT(list->item(i));
|
| - ASSERT(list->item(i)->hasTagName(SVGNames::fontTag));
|
| + ASSERT(isSVGFontElement(list->item(i)));
|
| }
|
| #endif
|
|
|
|
|