Index: Source/core/css/CSSFontFaceSource.cpp |
diff --git a/Source/core/css/CSSFontFaceSource.cpp b/Source/core/css/CSSFontFaceSource.cpp |
index 756245520e9211e5ed5e3a56696f148830661653..c929c5d2ac9a62885a01d5e17631ed6f97ae806b 100644 |
--- a/Source/core/css/CSSFontFaceSource.cpp |
+++ b/Source/core/css/CSSFontFaceSource.cpp |
@@ -144,7 +144,7 @@ PassRefPtr<SimpleFontData> CSSFontFaceSource::getFontData(const FontDescription& |
// Select first <font-face> child |
for (Node* fontChild = m_externalSVGFontElement->firstChild(); fontChild; fontChild = fontChild->nextSibling()) { |
if (fontChild->hasTagName(SVGNames::font_faceTag)) { |
- fontFaceElement = static_cast<SVGFontFaceElement*>(fontChild); |
+ fontFaceElement = toSVGFontFaceElement(fontChild); |
break; |
} |
} |