Index: Source/core/layout/svg/LayoutSVGText.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGText.cpp b/Source/core/layout/svg/LayoutSVGText.cpp |
index ccaa59438b7befb132601913368405171ef35ef4..ee488e5f3a07a3706ec8a323e1c0fafb4e827b3b 100644 |
--- a/Source/core/layout/svg/LayoutSVGText.cpp |
+++ b/Source/core/layout/svg/LayoutSVGText.cpp |
@@ -471,7 +471,7 @@ FloatRect LayoutSVGText::strokeBoundingBox() const |
ASSERT(node()); |
ASSERT(node()->isSVGElement()); |
SVGLengthContext lengthContext(toSVGElement(node())); |
- strokeBoundaries.inflate(svgStyle.strokeWidth()->value(lengthContext)); |
+ strokeBoundaries.inflate(lengthContext.valueForLength(svgStyle.strokeWidth())); |
return strokeBoundaries; |
} |