Index: Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
diff --git a/Source/core/layout/svg/SVGLayoutTreeAsText.cpp b/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
index fc95d87436976dbb784edc9ad9b0c084dcc876b3..081fcf2697fcd4c32352d33c5e98b3c2d107b8fd 100644 |
--- a/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
+++ b/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
@@ -289,7 +289,7 @@ static void writeStyle(TextStream& ts, const LayoutObject& object) |
SVGLengthContext lengthContext(shape.element()); |
double dashOffset = lengthContext.valueForLength(svgStyle.strokeDashOffset(), style); |
- double strokeWidth = svgStyle.strokeWidth()->value(lengthContext); |
+ double strokeWidth = lengthContext.valueForLength(svgStyle.strokeWidth()); |
DashArray dashArray = SVGLayoutSupport::resolveSVGDashArray(*svgStyle.strokeDashArray(), style, lengthContext); |
writeIfNotDefault(ts, "opacity", svgStyle.strokeOpacity(), 1.0f); |