| Index: Source/core/svg/SVGFontFaceElement.cpp
|
| diff --git a/Source/core/svg/SVGFontFaceElement.cpp b/Source/core/svg/SVGFontFaceElement.cpp
|
| index 430dfb9014a96620531783ca3469a4e3a017972f..55945a5f407f3c3339f0db52ae564b96d17588a7 100644
|
| --- a/Source/core/svg/SVGFontFaceElement.cpp
|
| +++ b/Source/core/svg/SVGFontFaceElement.cpp
|
| @@ -311,7 +311,7 @@ void SVGFontFaceElement::rebuildFontFace()
|
|
|
| unsigned srcLength = srcList ? srcList->length() : 0;
|
| for (unsigned i = 0; i < srcLength; i++) {
|
| - if (CSSFontFaceSrcValue* item = static_cast<CSSFontFaceSrcValue*>(srcList->itemWithoutBoundsCheck(i)))
|
| + if (CSSFontFaceSrcValue* item = toCSSFontFaceSrcValue(srcList->itemWithoutBoundsCheck(i)))
|
| item->setSVGFontFaceElement(this);
|
| }
|
| }
|
|
|