| Index: Source/core/layout/svg/SVGPathData.cpp
 | 
| diff --git a/Source/core/layout/svg/SVGPathData.cpp b/Source/core/layout/svg/SVGPathData.cpp
 | 
| index c884a5bc29ee06e1f2cf1179132b5616bdcf9e60..954b47e2c020a0568fb85fe811f30704178b0292 100644
 | 
| --- a/Source/core/layout/svg/SVGPathData.cpp
 | 
| +++ b/Source/core/layout/svg/SVGPathData.cpp
 | 
| @@ -116,9 +116,9 @@ static void updatePathFromRectElement(SVGElement* element, Path& path)
 | 
|      if (!width && !height)
 | 
|          return;
 | 
|  
 | 
| -    const SVGLayoutStyle& style = rect->renderer()->style()->svgStyle();
 | 
| -    float x = lengthContext.valueForLength(style.x(), LengthModeWidth);
 | 
| -    float y = lengthContext.valueForLength(style.y(), LengthModeHeight);
 | 
| +    const LayoutStyle& style = rect->renderer()->styleRef();
 | 
| +    float x = lengthContext.valueForLength(style.svgStyle().x(), style, LengthModeWidth);
 | 
| +    float y = lengthContext.valueForLength(style.svgStyle().y(), style, LengthModeHeight);
 | 
|      float rx = rect->rx()->currentValue()->value(lengthContext);
 | 
|      float ry = rect->ry()->currentValue()->value(lengthContext);
 | 
|      bool hasRx = rx > 0;
 | 
| 
 |