| Index: third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGRectElement.cpp b/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| index 13c82aefe2374fb1c6505eed12c06fe2b9dce43d..ea8c2b856b6ce3de46ea20e95e19d59ba1130a75 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
| @@ -81,9 +81,9 @@ Path SVGRectElement::asPath() const
|
| bool hasRx = rx > 0;
|
| bool hasRy = ry > 0;
|
| if (hasRx || hasRy) {
|
| - if (!hasRx)
|
| + if (svgStyle.rx().isAuto())
|
| rx = ry;
|
| - else if (!hasRy)
|
| + else if (svgStyle.ry().isAuto())
|
| ry = rx;
|
|
|
| path.addRoundedRect(FloatRect(x, y, width, height), FloatSize(rx, ry));
|
|
|