Index: Source/core/css/FontFace.cpp |
diff --git a/Source/core/css/FontFace.cpp b/Source/core/css/FontFace.cpp |
index 947d935b09b6baa62b70b2fcb50c4c958abc80e6..0e92893a19a97eae62d3d4bf14faa529be5e498b 100644 |
--- a/Source/core/css/FontFace.cpp |
+++ b/Source/core/css/FontFace.cpp |
@@ -446,7 +446,7 @@ PassRefPtr<CSSFontFace> FontFace::createCSSFontFace(Document* document) |
if (CSSValueList* rangeList = toCSSValueList(m_unicodeRange.get())) { |
unsigned numRanges = rangeList->length(); |
for (unsigned i = 0; i < numRanges; i++) { |
- CSSUnicodeRangeValue* range = static_cast<CSSUnicodeRangeValue*>(rangeList->itemWithoutBoundsCheck(i)); |
+ CSSUnicodeRangeValue* range = toCSSUnicodeRangeValue(rangeList->itemWithoutBoundsCheck(i)); |
cssFontFace->addRange(range->from(), range->to()); |
} |
} |