Index: Source/core/svg/SVGFontFaceFormatElement.cpp |
diff --git a/Source/core/svg/SVGFontFaceFormatElement.cpp b/Source/core/svg/SVGFontFaceFormatElement.cpp |
index c3835d1353bdd2bffe71aa25a42ae5f9f9b84de6..ed8347236ec6cb87b4ad1c1a26f4cebafbb14bb0 100644 |
--- a/Source/core/svg/SVGFontFaceFormatElement.cpp |
+++ b/Source/core/svg/SVGFontFaceFormatElement.cpp |
@@ -54,7 +54,7 @@ void SVGFontFaceFormatElement::childrenChanged(bool changedByParser, Node* befor |
ancestor = ancestor->parentNode(); |
if (ancestor && ancestor->hasTagName(font_faceTag)) |
- static_cast<SVGFontFaceElement*>(ancestor)->rebuildFontFace(); |
+ toSVGFontFaceElement(ancestor)->rebuildFontFace(); |
} |
} |