Index: Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
diff --git a/Source/core/layout/svg/SVGLayoutTreeAsText.cpp b/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
index cd64e2c3ec1498ee30d67c0debd97edd0d9de295..adf29b023ebf7d2683fb94c6289cd12dcc06aeb7 100644 |
--- a/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
+++ b/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
@@ -288,7 +288,7 @@ static void writeStyle(TextStream& ts, const LayoutObject& object) |
writeSVGPaintingResource(ts, strokePaintDescription); |
SVGLengthContext lengthContext(shape.element()); |
- double dashOffset = svgStyle.strokeDashOffset()->value(lengthContext); |
+ double dashOffset = lengthContext.valueForLength(svgStyle.strokeDashOffset(), style); |
double strokeWidth = svgStyle.strokeWidth()->value(lengthContext); |
RefPtrWillBeRawPtr<SVGLengthList> dashes = svgStyle.strokeDashArray(); |