| Index: Source/core/rendering/svg/SVGRenderTreeAsText.cpp
|
| diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp
|
| index 1eaf384472f5754eba421ce097a5e9e6bed37e4b..9f0c6ce63c96e44c0efe4cb52234c578241fc881 100644
|
| --- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp
|
| +++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp
|
| @@ -337,7 +337,7 @@ static TextStream& operator<<(TextStream& ts, const RenderSVGShape& shape)
|
| writeNameValuePair(ts, "width", element->widthCurrentValue().value(lengthContext));
|
| writeNameValuePair(ts, "height", element->heightCurrentValue().value(lengthContext));
|
| } else if (svgElement->hasTagName(SVGNames::lineTag)) {
|
| - SVGLineElement* element = static_cast<SVGLineElement*>(svgElement);
|
| + SVGLineElement* element = toSVGLineElement(svgElement);
|
| writeNameValuePair(ts, "x1", element->x1CurrentValue().value(lengthContext));
|
| writeNameValuePair(ts, "y1", element->y1CurrentValue().value(lengthContext));
|
| writeNameValuePair(ts, "x2", element->x2CurrentValue().value(lengthContext));
|
|
|