Index: Source/core/rendering/svg/RenderSVGShape.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGShape.cpp b/Source/core/rendering/svg/RenderSVGShape.cpp |
index 04298f7e49d8d64694ea67ec3e81445086a2af21..8f4a797fa6654de08ca83ab388b1c0af5e901cf1 100644 |
--- a/Source/core/rendering/svg/RenderSVGShape.cpp |
+++ b/Source/core/rendering/svg/RenderSVGShape.cpp |
@@ -425,13 +425,13 @@ void RenderSVGShape::updateRepaintBoundingBox() |
float RenderSVGShape::strokeWidth() const |
{ |
SVGLengthContext lengthContext(element()); |
- return style()->svgStyle()->strokeWidth().value(lengthContext); |
+ return style()->svgStyle()->strokeWidth()->value(lengthContext); |
} |
bool RenderSVGShape::hasSmoothStroke() const |
{ |
const SVGRenderStyle* svgStyle = style()->svgStyle(); |
- return svgStyle->strokeDashArray().isEmpty() |
+ return svgStyle->strokeDashArray()->isEmpty() |
&& svgStyle->strokeMiterLimit() == svgStyle->initialStrokeMiterLimit() |
&& svgStyle->joinStyle() == svgStyle->initialJoinStyle() |
&& svgStyle->capStyle() == svgStyle->initialCapStyle(); |