Index: Source/core/svg/SVGFontFaceUriElement.cpp |
diff --git a/Source/core/svg/SVGFontFaceUriElement.cpp b/Source/core/svg/SVGFontFaceUriElement.cpp |
index caa59d23f5ae82aae3aa60accc59e9bdc7ed0b00..eb726ebdb5b1c04b11418a09ee61b78da2c37881 100644 |
--- a/Source/core/svg/SVGFontFaceUriElement.cpp |
+++ b/Source/core/svg/SVGFontFaceUriElement.cpp |
@@ -79,7 +79,7 @@ void SVGFontFaceUriElement::childrenChanged(bool changedByParser, Node* beforeCh |
ContainerNode* grandparent = parentNode()->parentNode(); |
if (grandparent && grandparent->hasTagName(font_faceTag)) |
- static_cast<SVGFontFaceElement*>(grandparent)->rebuildFontFace(); |
+ toSVGFontFaceElement(grandparent)->rebuildFontFace(); |
} |
Node::InsertionNotificationRequest SVGFontFaceUriElement::insertedInto(ContainerNode* rootParent) |