diff options
Diffstat (limited to 'WebCore/svg/SVGStyleElement.cpp')
-rw-r--r-- | WebCore/svg/SVGStyleElement.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/WebCore/svg/SVGStyleElement.cpp b/WebCore/svg/SVGStyleElement.cpp index bb50e67..4a80319 100644 --- a/WebCore/svg/SVGStyleElement.cpp +++ b/WebCore/svg/SVGStyleElement.cpp @@ -34,13 +34,17 @@ namespace WebCore { -SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document* document, bool createdByParser) +inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document* document, bool createdByParser) : SVGElement(tagName, document) - , SVGLangSpace() , StyleElement(document, createdByParser) { } +PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName, Document* document, bool createdByParser) +{ + return adoptRef(new SVGStyleElement(tagName, document, createdByParser)); +} + const AtomicString& SVGStyleElement::type() const { DEFINE_STATIC_LOCAL(const AtomicString, defaultValue, ("text/css")); |