| Index: Source/core/svg/SVGFontFaceElement.cpp
|
| diff --git a/Source/core/svg/SVGFontFaceElement.cpp b/Source/core/svg/SVGFontFaceElement.cpp
|
| index 0ed949ca99fc1bc6aec9656d8c55615eb0ab0251..7cdcffd39115c7508abec6d26552a78b56c7e60c 100644
|
| --- a/Source/core/svg/SVGFontFaceElement.cpp
|
| +++ b/Source/core/svg/SVGFontFaceElement.cpp
|
| @@ -286,7 +286,7 @@ void SVGFontFaceElement::rebuildFontFace()
|
| // we currently ignore all but the last src element, alternatively we could concat them
|
| for (Node* child = lastChild(); child && !list; child = child->previousSibling()) {
|
| if (child->hasTagName(font_face_srcTag)) {
|
| - list = static_cast<SVGFontFaceSrcElement*>(child)->srcValue();
|
| + list = toSVGFontFaceSrcElement(child)->srcValue();
|
| break;
|
| }
|
| }
|
|
|