| Index: Source/core/svg/SVGAltGlyphDefElement.cpp
|
| diff --git a/Source/core/svg/SVGAltGlyphDefElement.cpp b/Source/core/svg/SVGAltGlyphDefElement.cpp
|
| index 5f54325cbb8f8db36ab71b7c3e404595bf713720..5142195a8a3f401c8ee75bed90187fffdc81b373 100644
|
| --- a/Source/core/svg/SVGAltGlyphDefElement.cpp
|
| +++ b/Source/core/svg/SVGAltGlyphDefElement.cpp
|
| @@ -109,7 +109,7 @@ bool SVGAltGlyphDefElement::hasValidGlyphElements(Vector<AtomicString>& glyphNam
|
|
|
| // As the spec says "The first 'altGlyphItem' in which all referenced glyphs
|
| // are available is chosen."
|
| - if (static_cast<SVGAltGlyphItemElement*>(child)->hasValidGlyphElements(glyphNames) && !glyphNames.isEmpty())
|
| + if (toSVGAltGlyphItemElement(child)->hasValidGlyphElements(glyphNames) && !glyphNames.isEmpty())
|
| return true;
|
| }
|
| }
|
|
|