summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGTextPositioningElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGTextPositioningElement.h')
-rw-r--r--Source/WebCore/svg/SVGTextPositioningElement.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/WebCore/svg/SVGTextPositioningElement.h b/Source/WebCore/svg/SVGTextPositioningElement.h
index 5f7692a3f..02c59c60b 100644
--- a/Source/WebCore/svg/SVGTextPositioningElement.h
+++ b/Source/WebCore/svg/SVGTextPositioningElement.h
@@ -21,6 +21,7 @@
#ifndef SVGTextPositioningElement_h
#define SVGTextPositioningElement_h
+#if ENABLE(SVG)
#include "SVGAnimatedLengthList.h"
#include "SVGAnimatedNumberList.h"
#include "SVGTextContentElement.h"
@@ -29,18 +30,15 @@ namespace WebCore {
class SVGTextPositioningElement : public SVGTextContentElement {
public:
- static SVGTextPositioningElement* elementFromRenderer(RenderBoxModelObject&);
+ static SVGTextPositioningElement* elementFromRenderer(RenderObject*);
protected:
SVGTextPositioningElement(const QualifiedName&, Document&);
+ bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual void svgAttributeChanged(const QualifiedName&) override;
-private:
- virtual bool isPresentationAttribute(const QualifiedName&) const override final;
- virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override final;
-
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPositioningElement)
DECLARE_ANIMATED_LENGTH_LIST(X, x)
DECLARE_ANIMATED_LENGTH_LIST(Y, y)
@@ -52,4 +50,5 @@ private:
} // namespace WebCore
+#endif // ENABLE(SVG)
#endif