summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/svg/SVGTextElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGTextElement.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/svg/SVGTextElement.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGTextElement.h b/chromium/third_party/WebKit/Source/core/svg/SVGTextElement.h
index b52204c15c3..945cca29b73 100644
--- a/chromium/third_party/WebKit/Source/core/svg/SVGTextElement.h
+++ b/chromium/third_party/WebKit/Source/core/svg/SVGTextElement.h
@@ -21,28 +21,23 @@
#ifndef SVGTextElement_h
#define SVGTextElement_h
-#include "SVGNames.h"
+#include "core/SVGNames.h"
#include "core/svg/SVGTextPositioningElement.h"
namespace WebCore {
class SVGTextElement FINAL : public SVGTextPositioningElement {
public:
- static PassRefPtr<SVGTextElement> create(Document&);
+ DECLARE_NODE_FACTORY(SVGTextElement);
- virtual AffineTransform animatedLocalTransform() const;
+ virtual AffineTransform animatedLocalTransform() const OVERRIDE;
private:
explicit SVGTextElement(Document&);
- virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); }
-
- virtual RenderObject* createRenderer(RenderStyle*);
- virtual bool childShouldCreateRenderer(const Node& child) const;
+ virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
};
-DEFINE_NODE_TYPE_CASTS(SVGTextElement, hasTagName(SVGNames::textTag));
-
} // namespace WebCore
#endif