| Index: Source/core/svg/SVGFontElement.cpp
|
| diff --git a/Source/core/svg/SVGFontElement.cpp b/Source/core/svg/SVGFontElement.cpp
|
| index 08ecf79d8a5a933c42fc53c971e9c38fcc40c76a..40bc9af99dbe26e346a5c203ad2dbe0ff46e0f26 100644
|
| --- a/Source/core/svg/SVGFontElement.cpp
|
| +++ b/Source/core/svg/SVGFontElement.cpp
|
| @@ -42,21 +42,20 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFontElement)
|
| REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement)
|
| END_REGISTER_ANIMATED_PROPERTIES
|
|
|
| -inline SVGFontElement::SVGFontElement(const QualifiedName& tagName, Document& document)
|
| - : SVGElement(tagName, document)
|
| +inline SVGFontElement::SVGFontElement(Document& document)
|
| + : SVGElement(SVGNames::fontTag, document)
|
| , m_missingGlyph(0)
|
| , m_isGlyphCacheValid(false)
|
| {
|
| - ASSERT(hasTagName(SVGNames::fontTag));
|
| ScriptWrappable::init(this);
|
| registerAnimatedPropertiesForSVGFontElement();
|
|
|
| UseCounter::count(document, UseCounter::SVGFontElement);
|
| }
|
|
|
| -PassRefPtr<SVGFontElement> SVGFontElement::create(const QualifiedName& tagName, Document& document)
|
| +PassRefPtr<SVGFontElement> SVGFontElement::create(Document& document)
|
| {
|
| - return adoptRef(new SVGFontElement(tagName, document));
|
| + return adoptRef(new SVGFontElement(document));
|
| }
|
|
|
| void SVGFontElement::invalidateGlyphCache()
|
|
|