| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| index cb8752dfb0119036930112ff8c25291632843d67..346f27d81bd8593bbf516b1b8805b49381c017e4 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| @@ -48,9 +48,9 @@ namespace blink {
|
| bool LayoutSVGShape::adjustVisualRectForRasterEffects(
|
| LayoutRect& visualRect) const {
|
| // Account for raster expansions due to SVG stroke hairline raster effects.
|
| - if (!visualRect.isEmpty() && styleRef().svgStyle().hasVisibleStroke()) {
|
| + if (!visualRect.isEmpty() && styleRef().hasVisibleStroke()) {
|
| LayoutUnit pad(0.5f);
|
| - if (styleRef().svgStyle().capStyle() != ButtCap)
|
| + if (styleRef().capStyle() != ButtCap)
|
| pad += 0.5f;
|
| visualRect.inflate(pad);
|
| return true;
|
| @@ -327,7 +327,7 @@ FloatRect LayoutSVGShape::calculateStrokeBoundingBox() const {
|
|
|
| float LayoutSVGShape::strokeWidth() const {
|
| SVGLengthContext lengthContext(element());
|
| - return lengthContext.valueForLength(style()->svgStyle().strokeWidth());
|
| + return lengthContext.valueForLength(style()->strokeWidth());
|
| }
|
|
|
| LayoutSVGShapeRareData& LayoutSVGShape::ensureRareData() const {
|
|
|