Index: Source/core/svg/SVGSVGElement.h |
diff --git a/Source/core/svg/SVGSVGElement.h b/Source/core/svg/SVGSVGElement.h |
index 45cc287b0a7f1ec703b1fa44ebc47be70852b48a..cd7daaf615c73370eea50c444d7130e7e0ccc258 100644 |
--- a/Source/core/svg/SVGSVGElement.h |
+++ b/Source/core/svg/SVGSVGElement.h |
@@ -130,7 +130,7 @@ public: |
SVGZoomAndPanType zoomAndPan() const { return m_zoomAndPan; } |
void setZoomAndPan(unsigned short zoomAndPan) { m_zoomAndPan = SVGZoomAndPan::parseFromNumber(zoomAndPan); } |
- bool hasEmptyViewBox() const { return viewBoxIsValid() && viewBox().isEmpty(); } |
+ bool hasEmptyViewBox() const { return viewBoxIsValid() && viewBoxCurrentValue().isEmpty(); } |
private: |
SVGSVGElement(const QualifiedName&, Document*); |