Index: Source/core/svg/SVGSVGElement.cpp |
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp |
index 975a18185fd47cca234a24f14d969a65d47dc66b..22278a188f1a23c7c5cbd442b067e47608b37593 100644 |
--- a/Source/core/svg/SVGSVGElement.cpp |
+++ b/Source/core/svg/SVGSVGElement.cpp |
@@ -609,8 +609,7 @@ bool SVGSVGElement::selfHasRelativeLengths() const |
return m_x->currentValue()->isRelative() |
|| m_y->currentValue()->isRelative() |
|| m_width->currentValue()->isRelative() |
- || m_height->currentValue()->isRelative() |
- || hasAttribute(SVGNames::viewBoxAttr); |
+ || m_height->currentValue()->isRelative(); |
} |
FloatRect SVGSVGElement::currentViewBoxRect() const |