| Index: Source/core/layout/svg/SVGLayoutSupport.cpp
|
| diff --git a/Source/core/layout/svg/SVGLayoutSupport.cpp b/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| index c9c11fe84f29394d932724f66df6fbc5f39f4a52..58520b57dadc2c3925f93ed0e35fb60c2777d37b 100644
|
| --- a/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| +++ b/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| @@ -364,7 +364,7 @@ void SVGLayoutSupport::applyStrokeStyleToContext(GraphicsContext& context, const
|
| const SVGLayoutStyle& svgStyle = style.svgStyle();
|
|
|
| SVGLengthContext lengthContext(toSVGElement(object.node()));
|
| - context.setStrokeThickness(svgStyle.strokeWidth()->value(lengthContext));
|
| + context.setStrokeThickness(lengthContext.valueForLength(svgStyle.strokeWidth()));
|
| context.setLineCap(svgStyle.capStyle());
|
| context.setLineJoin(svgStyle.joinStyle());
|
| context.setMiterLimit(svgStyle.strokeMiterLimit());
|
| @@ -381,7 +381,7 @@ void SVGLayoutSupport::applyStrokeStyleToStrokeData(StrokeData& strokeData, cons
|
| const SVGLayoutStyle& svgStyle = style.svgStyle();
|
|
|
| SVGLengthContext lengthContext(toSVGElement(object.node()));
|
| - strokeData.setThickness(svgStyle.strokeWidth()->value(lengthContext));
|
| + strokeData.setThickness(lengthContext.valueForLength(svgStyle.strokeWidth()));
|
| strokeData.setLineCap(svgStyle.capStyle());
|
| strokeData.setLineJoin(svgStyle.joinStyle());
|
| strokeData.setMiterLimit(svgStyle.strokeMiterLimit());
|
|
|