| Index: Source/core/svg/SVGFontFaceElement.cpp
|
| diff --git a/Source/core/svg/SVGFontFaceElement.cpp b/Source/core/svg/SVGFontFaceElement.cpp
|
| index 6b8865da1700a7e07469b1c1653527907188060e..9fb4cd4191ce30ab879ba0218032b7a9bbb85c57 100644
|
| --- a/Source/core/svg/SVGFontFaceElement.cpp
|
| +++ b/Source/core/svg/SVGFontFaceElement.cpp
|
| @@ -46,20 +46,19 @@ namespace WebCore {
|
|
|
| using namespace SVGNames;
|
|
|
| -inline SVGFontFaceElement::SVGFontFaceElement(const QualifiedName& tagName, Document& document)
|
| - : SVGElement(tagName, document)
|
| +inline SVGFontFaceElement::SVGFontFaceElement(Document& document)
|
| + : SVGElement(font_faceTag, document)
|
| , m_fontFaceRule(StyleRuleFontFace::create())
|
| , m_fontElement(0)
|
| {
|
| - ASSERT(hasTagName(font_faceTag));
|
| ScriptWrappable::init(this);
|
| RefPtr<MutableStylePropertySet> styleDeclaration = MutableStylePropertySet::create(HTMLStandardMode);
|
| m_fontFaceRule->setProperties(styleDeclaration.release());
|
| }
|
|
|
| -PassRefPtr<SVGFontFaceElement> SVGFontFaceElement::create(const QualifiedName& tagName, Document& document)
|
| +PassRefPtr<SVGFontFaceElement> SVGFontFaceElement::create(Document& document)
|
| {
|
| - return adoptRef(new SVGFontFaceElement(tagName, document));
|
| + return adoptRef(new SVGFontFaceElement(document));
|
| }
|
|
|
| static CSSPropertyID cssPropertyIdForFontFaceAttributeName(const QualifiedName& attrName)
|
|
|