Index: Source/core/css/FontFace.cpp |
diff --git a/Source/core/css/FontFace.cpp b/Source/core/css/FontFace.cpp |
index d1d3896278586cfce3b1bfe885d7becd2f02f412..0fcf7ca648ede3edbd36d9239cd6c593d8f5db94 100644 |
--- a/Source/core/css/FontFace.cpp |
+++ b/Source/core/css/FontFace.cpp |
@@ -412,7 +412,7 @@ PassRefPtr<CSSFontFace> FontFace::createCSSFontFace(Document* document) |
for (int i = 0; i < srcLength; i++) { |
// An item in the list either specifies a string (local font name) or a URL (remote font to download). |
- CSSFontFaceSrcValue* item = static_cast<CSSFontFaceSrcValue*>(srcList->itemWithoutBoundsCheck(i)); |
+ CSSFontFaceSrcValue* item = toCSSFontFaceSrcValue(srcList->itemWithoutBoundsCheck(i)); |
OwnPtr<CSSFontFaceSource> source; |
#if ENABLE(SVG_FONTS) |