Index: Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
diff --git a/Source/core/layout/svg/SVGLayoutTreeAsText.cpp b/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
index 56b6b95dcac28d4ff37e6de3c11f78c6f7d27f54..101ad3c500b3c1f2590ccb72e10fc211411e4519 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); |