Index: Source/core/svg/SVGFontFaceSrcElement.cpp |
diff --git a/Source/core/svg/SVGFontFaceSrcElement.cpp b/Source/core/svg/SVGFontFaceSrcElement.cpp |
index a658996d4e700228c108253bae8a4ab7078dee96..3a6489619d07c5b1a4d9613f9e022f9bbaf9dda1 100644 |
--- a/Source/core/svg/SVGFontFaceSrcElement.cpp |
+++ b/Source/core/svg/SVGFontFaceSrcElement.cpp |
@@ -64,7 +64,7 @@ void SVGFontFaceSrcElement::childrenChanged(bool changedByParser, Node* beforeCh |
{ |
SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); |
if (parentNode() && parentNode()->hasTagName(font_faceTag)) |
- static_cast<SVGFontFaceElement*>(parentNode())->rebuildFontFace(); |
+ toSVGFontFaceElement(parentNode())->rebuildFontFace(); |
} |
} |