Index: third_party/WebKit/Source/core/svg/SVGFitToViewBox.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.h b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.h |
index 7017697f2871ab39c7d4d90f7b18ae5df3743f22..4b85c56ab217adbfc7c666b143e0d356d10339ce 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.h |
+++ b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.h |
@@ -23,7 +23,6 @@ |
#define SVGFitToViewBox_h |
#include "core/SVGNames.h" |
-#include "core/dom/QualifiedName.h" |
#include "core/svg/SVGAnimatedPreserveAspectRatio.h" |
#include "core/svg/SVGAnimatedRect.h" |
#include "core/svg/SVGPreserveAspectRatio.h" |
@@ -33,6 +32,7 @@ |
namespace blink { |
class AffineTransform; |
+class QualifiedName; |
class SVGFitToViewBox : public GarbageCollectedMixin { |
public: |
@@ -43,6 +43,7 @@ class SVGFitToViewBox : public GarbageCollectedMixin { |
static bool isKnownAttribute(const QualifiedName&); |
+ bool hasValidViewBox() const { return m_viewBox->currentValue()->isValid(); } |
bool hasEmptyViewBox() const { |
return m_viewBox->currentValue()->isValid() && |
m_viewBox->currentValue()->value().isEmpty(); |