Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
index ec616f6d26a298dff4ed944427f9bc851027d8f6..27613dac1d5f461a7731ce05b7a2bb5b6d646b40 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
@@ -370,7 +370,7 @@ FloatRect LayoutSVGText::strokeBoundingBox() const { |
ASSERT(node()->isSVGElement()); |
SVGLengthContext lengthContext(toSVGElement(node())); |
strokeBoundaries.inflate( |
- lengthContext.valueForLength(svgStyle.strokeWidth())); |
+ lengthContext.valueForLength(style()->strokeWidth())); |
return strokeBoundaries; |
} |