| Index: Source/core/layout/svg/SVGLayoutSupport.cpp
|
| diff --git a/Source/core/layout/svg/SVGLayoutSupport.cpp b/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| index 94402772c43fcd801391e017899c83541891e947..bd23d623207fc8da4fa8770a062ed7f5a95d49d0 100644
|
| --- a/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| +++ b/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| @@ -369,7 +369,7 @@ void SVGLayoutSupport::applyStrokeStyleToContext(GraphicsContext& context, const
|
| for (; it != itEnd; ++it)
|
| dashArray.append(it->value(lengthContext));
|
| }
|
| - context.setLineDash(dashArray, svgStyle.strokeDashOffset()->value(lengthContext));
|
| + context.setLineDash(dashArray, lengthContext.valueForLength(svgStyle.strokeDashOffset(), style));
|
| }
|
|
|
| void SVGLayoutSupport::applyStrokeStyleToStrokeData(StrokeData& strokeData, const LayoutStyle& style, const LayoutObject& object)
|
| @@ -393,7 +393,7 @@ void SVGLayoutSupport::applyStrokeStyleToStrokeData(StrokeData& strokeData, cons
|
| for (; it != itEnd; ++it)
|
| dashArray.append(it->value(lengthContext));
|
| }
|
| - strokeData.setLineDash(dashArray, svgStyle.strokeDashOffset()->value(lengthContext));
|
| + strokeData.setLineDash(dashArray, lengthContext.valueForLength(svgStyle.strokeDashOffset(), style));
|
| }
|
|
|
| bool SVGLayoutSupport::updateGraphicsContext(const PaintInfo& paintInfo, GraphicsContextStateSaver& stateSaver, const LayoutStyle& style, LayoutObject& renderer, LayoutSVGResourceMode resourceMode, const AffineTransform* additionalPaintServerTransform)
|
|
|