diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGUnknownElement.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/svg/SVGUnknownElement.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGUnknownElement.h b/chromium/third_party/WebKit/Source/core/svg/SVGUnknownElement.h index 93dd832f52a..d99ac032d11 100644 --- a/chromium/third_party/WebKit/Source/core/svg/SVGUnknownElement.h +++ b/chromium/third_party/WebKit/Source/core/svg/SVGUnknownElement.h @@ -41,12 +41,9 @@ namespace WebCore { // // The main purpose of this class at the moment is to override rendererIsNeeded() to return // false to make sure we don't attempt to render such elements. -class SVGUnknownElement : public SVGElement { +class SVGUnknownElement FINAL : public SVGElement { public: - static PassRefPtr<SVGUnknownElement> create(const QualifiedName& tagName, Document& document) - { - return adoptRef(new SVGUnknownElement(tagName, document)); - } + DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(SVGUnknownElement); private: SVGUnknownElement(const QualifiedName&, Document&); |