Index: Source/core/svg/SVGAltGlyphElement.cpp |
diff --git a/Source/core/svg/SVGAltGlyphElement.cpp b/Source/core/svg/SVGAltGlyphElement.cpp |
index 3de1575fbf668646d70dbc1ba455b1f9d0eb9df8..ee8ec836c923e686c76e4720ce660173c537ff5c 100644 |
--- a/Source/core/svg/SVGAltGlyphElement.cpp |
+++ b/Source/core/svg/SVGAltGlyphElement.cpp |
@@ -99,7 +99,7 @@ bool SVGAltGlyphElement::hasValidGlyphElements(Vector<AtomicString>& glyphNames) |
} |
if (element->hasTagName(SVGNames::altGlyphDefTag) |
- && static_cast<SVGAltGlyphDefElement*>(element)->hasValidGlyphElements(glyphNames)) |
+ && toSVGAltGlyphDefElement(element)->hasValidGlyphElements(glyphNames)) |
return true; |
return false; |