Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
index a11a7fa92fce999ef9ed63f938d72a32a4bb369e..a6754ebdd49fb3ad2fbdaeab099a42268f3a0efd 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
@@ -65,13 +65,13 @@ FloatRect LayoutSVGPath::hitTestStrokeBoundingBox() const { |
float delta = strokeWidth / 2; |
- if (svgStyle.hasMiterJoinStyle()) { |
+ if (style()->hasMiterJoinStyle()) { |
const float miter = svgStyle.strokeMiterLimit(); |
- if (miter < M_SQRT2 && svgStyle.hasSquareCapStyle()) |
+ if (miter < M_SQRT2 && style()->hasSquareCapStyle()) |
delta *= M_SQRT2; |
else |
delta *= miter; |
- } else if (svgStyle.hasSquareCapStyle()) { |
+ } else if (style()->hasSquareCapStyle()) { |
delta *= M_SQRT2; |
} |