Index: Source/core/svg/SVGSVGElement.cpp |
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp |
index a56c0b781cfe845bd3865db8ead36c7b79f0a1aa..0c76482c2c1b39106e310f1680fc9a22abc9ae02 100644 |
--- a/Source/core/svg/SVGSVGElement.cpp |
+++ b/Source/core/svg/SVGSVGElement.cpp |
@@ -630,12 +630,6 @@ FloatRect SVGSVGElement::currentViewBoxRect() const |
FloatSize SVGSVGElement::currentViewportSize() const |
{ |
- if (hasIntrinsicWidth() && hasIntrinsicHeight()) { |
- Length intrinsicWidth = this->intrinsicWidth(); |
- Length intrinsicHeight = this->intrinsicHeight(); |
- return FloatSize(floatValueForLength(intrinsicWidth, 0), floatValueForLength(intrinsicHeight, 0)); |
- } |
- |
if (!renderer()) |
return FloatSize(); |