| Index: Source/core/layout/svg/LayoutSVGShape.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGShape.cpp b/Source/core/layout/svg/LayoutSVGShape.cpp
|
| index 9b0d410f3bcd1d0f7e41e7278578c813fe20c3f5..6b55e1366543966f76570d3aff63885c0b0fc5bf 100644
|
| --- a/Source/core/layout/svg/LayoutSVGShape.cpp
|
| +++ b/Source/core/layout/svg/LayoutSVGShape.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "core/layout/svg/SVGResourcesCache.h"
|
| #include "core/paint/SVGShapePainter.h"
|
| #include "core/svg/SVGGraphicsElement.h"
|
| +#include "core/svg/SVGLengthContext.h"
|
| #include "platform/geometry/FloatPoint.h"
|
| #include "platform/graphics/StrokeData.h"
|
| #include "wtf/MathExtras.h"
|
| @@ -260,7 +261,7 @@ void LayoutSVGShape::updatePaintInvalidationBoundingBox()
|
| float LayoutSVGShape::strokeWidth() const
|
| {
|
| SVGLengthContext lengthContext(element());
|
| - return style()->svgStyle().strokeWidth()->value(lengthContext);
|
| + return lengthContext.valueForLength(style()->svgStyle().strokeWidth());
|
| }
|
|
|
| }
|
|
|