diff options
Diffstat (limited to 'WebCore/svg/SVGTitleElement.cpp')
-rw-r--r-- | WebCore/svg/SVGTitleElement.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/WebCore/svg/SVGTitleElement.cpp b/WebCore/svg/SVGTitleElement.cpp index 7fdb2e0..5eb2204 100644 --- a/WebCore/svg/SVGTitleElement.cpp +++ b/WebCore/svg/SVGTitleElement.cpp @@ -26,11 +26,16 @@ namespace WebCore { -SVGTitleElement::SVGTitleElement(const QualifiedName& tagName, Document* doc) - : SVGStyledElement(tagName, doc) +inline SVGTitleElement::SVGTitleElement(const QualifiedName& tagName, Document* document) + : SVGStyledElement(tagName, document) { } +PassRefPtr<SVGTitleElement> SVGTitleElement::create(const QualifiedName& tagName, Document* document) +{ + return adoptRef(new SVGTitleElement(tagName, document)); +} + void SVGTitleElement::insertedIntoDocument() { SVGStyledElement::insertedIntoDocument(); |