Index: Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
diff --git a/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp b/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
index a78971585e0190da64e61eee673ab8fa189bd90c..fe7685b0d2e85ff96d410a2c13fc7fc1de8932b4 100644 |
--- a/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
+++ b/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
@@ -198,7 +198,7 @@ GlyphData SVGTextRunRenderingContext::glyphDataForCharacter(const Font& font, co |
RenderObject* parentRenderObject = renderObject->isText() ? renderObject->parent() : renderObject; |
ASSERT(parentRenderObject); |
if (Element* parentRenderObjectElement = toElement(parentRenderObject->node())) { |
- if (parentRenderObjectElement->hasTagName(SVGNames::altGlyphTag)) |
+ if (isSVGAltGlyphElement(*parentRenderObjectElement)) |
glyphData.fontData = primaryFont; |
} |
} |