Index: Source/core/rendering/svg/RenderSVGRect.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGRect.cpp b/Source/core/rendering/svg/RenderSVGRect.cpp |
index 675199a1ebf248868ded36723efa95d616907ab4..81c4659032f436712d67f89b63c6f17bbb34709f 100644 |
--- a/Source/core/rendering/svg/RenderSVGRect.cpp |
+++ b/Source/core/rendering/svg/RenderSVGRect.cpp |
@@ -49,6 +49,7 @@ void RenderSVGRect::updateShapeFromElement() |
m_fillBoundingBox = FloatRect(); |
m_innerStrokeRect = FloatRect(); |
m_outerStrokeRect = FloatRect(); |
+ m_usePathFallback = false; |
SVGRectElement* rect = toSVGRectElement(element()); |
ASSERT(rect); |
@@ -67,7 +68,6 @@ void RenderSVGRect::updateShapeFromElement() |
m_usePathFallback = true; |
return; |
} |
- m_usePathFallback = false; |
} |
m_fillBoundingBox = FloatRect(FloatPoint(rect->x()->currentValue()->value(lengthContext), rect->y()->currentValue()->value(lengthContext)), boundingBoxSize); |