| Index: Source/core/rendering/svg/RenderSVGRect.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGRect.cpp b/Source/core/rendering/svg/RenderSVGRect.cpp
|
| index dfe447156f64dd06d4679607d3bc28d99af1c919..ce796422d932e7259436a049259b59167932f405 100644
|
| --- a/Source/core/rendering/svg/RenderSVGRect.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGRect.cpp
|
| @@ -55,18 +55,18 @@ void RenderSVGRect::updateShapeFromElement()
|
|
|
| SVGLengthContext lengthContext(rect);
|
| // Fallback to RenderSVGShape if rect has rounded corners or a non-scaling stroke.
|
| - if (rect->rxCurrentValue().value(lengthContext) > 0 || rect->ryCurrentValue().value(lengthContext) > 0 || hasNonScalingStroke()) {
|
| + if (rect->rx()->currentValue()->value(lengthContext) > 0 || rect->ry()->currentValue()->value(lengthContext) > 0 || hasNonScalingStroke()) {
|
| RenderSVGShape::updateShapeFromElement();
|
| m_usePathFallback = true;
|
| return;
|
| }
|
|
|
| m_usePathFallback = false;
|
| - FloatSize boundingBoxSize(rect->widthCurrentValue().value(lengthContext), rect->heightCurrentValue().value(lengthContext));
|
| + FloatSize boundingBoxSize(rect->width()->currentValue()->value(lengthContext), rect->height()->currentValue()->value(lengthContext));
|
| if (boundingBoxSize.isEmpty())
|
| return;
|
|
|
| - m_fillBoundingBox = FloatRect(FloatPoint(rect->xCurrentValue().value(lengthContext), rect->yCurrentValue().value(lengthContext)), boundingBoxSize);
|
| + m_fillBoundingBox = FloatRect(FloatPoint(rect->x()->currentValue()->value(lengthContext), rect->y()->currentValue()->value(lengthContext)), boundingBoxSize);
|
|
|
| // To decide if the stroke contains a point we create two rects which represent the inner and
|
| // the outer stroke borders. A stroke contains the point, if the point is between them.
|
|
|