summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp b/chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp
index 2675278c0ff..568d31d8de7 100644
--- a/chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp
+++ b/chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp
@@ -32,12 +32,9 @@ inline SVGFontFaceNameElement::SVGFontFaceNameElement(Document& document)
ScriptWrappable::init(this);
}
-PassRefPtr<SVGFontFaceNameElement> SVGFontFaceNameElement::create(Document& document)
-{
- return adoptRef(new SVGFontFaceNameElement(document));
-}
+DEFINE_NODE_FACTORY(SVGFontFaceNameElement)
-PassRefPtr<CSSFontFaceSrcValue> SVGFontFaceNameElement::srcValue() const
+PassRefPtrWillBeRawPtr<CSSFontFaceSrcValue> SVGFontFaceNameElement::srcValue() const
{
return CSSFontFaceSrcValue::createLocal(fastGetAttribute(SVGNames::nameAttr));
}