diff options
Diffstat (limited to 'WebCore/svg/SVGFontFaceNameElement.cpp')
-rw-r--r-- | WebCore/svg/SVGFontFaceNameElement.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/WebCore/svg/SVGFontFaceNameElement.cpp b/WebCore/svg/SVGFontFaceNameElement.cpp index b9657b3..39ac2b3 100644 --- a/WebCore/svg/SVGFontFaceNameElement.cpp +++ b/WebCore/svg/SVGFontFaceNameElement.cpp @@ -27,11 +27,16 @@ namespace WebCore { -SVGFontFaceNameElement::SVGFontFaceNameElement(const QualifiedName& tagName, Document* doc) - : SVGElement(tagName, doc) +inline SVGFontFaceNameElement::SVGFontFaceNameElement(const QualifiedName& tagName, Document* document) + : SVGElement(tagName, document) { } +PassRefPtr<SVGFontFaceNameElement> SVGFontFaceNameElement::create(const QualifiedName& tagName, Document* document) +{ + return adoptRef(new SVGFontFaceNameElement(tagName, document)); +} + PassRefPtr<CSSFontFaceSrcValue> SVGFontFaceNameElement::srcValue() const { return CSSFontFaceSrcValue::createLocal(getAttribute(SVGNames::nameAttr)); |