| Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
|
| index 8907cbac4f072df3e9c49b627ede9d91c2b82791..7c5a5d355ea0cd2693c7fd412265a252a16d60b5 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
|
| @@ -290,15 +290,15 @@ static void writeStyle(TextStream& ts, const LayoutObject& object) {
|
| SVGLengthContext lengthContext(shape.element());
|
| double dashOffset =
|
| lengthContext.valueForLength(svgStyle.strokeDashOffset(), style);
|
| - double strokeWidth = lengthContext.valueForLength(svgStyle.strokeWidth());
|
| + double strokeWidth = lengthContext.valueForLength(style.strokeWidth());
|
| DashArray dashArray = SVGLayoutSupport::resolveSVGDashArray(
|
| *svgStyle.strokeDashArray(), style, lengthContext);
|
|
|
| writeIfNotDefault(ts, "opacity", svgStyle.strokeOpacity(), 1.0f);
|
| writeIfNotDefault(ts, "stroke width", strokeWidth, 1.0);
|
| writeIfNotDefault(ts, "miter limit", svgStyle.strokeMiterLimit(), 4.0f);
|
| - writeIfNotDefault(ts, "line cap", svgStyle.capStyle(), ButtCap);
|
| - writeIfNotDefault(ts, "line join", svgStyle.joinStyle(), MiterJoin);
|
| + writeIfNotDefault(ts, "line cap", style.capStyle(), ButtCap);
|
| + writeIfNotDefault(ts, "line join", style.joinStyle(), MiterJoin);
|
| writeIfNotDefault(ts, "dash offset", dashOffset, 0.0);
|
| if (!dashArray.isEmpty())
|
| writeNameValuePair(ts, "dash array", dashArray);
|
|
|