| Index: Source/core/svg/SVGPatternElement.cpp
|
| diff --git a/Source/core/svg/SVGPatternElement.cpp b/Source/core/svg/SVGPatternElement.cpp
|
| index d1dfdd8f1ff5ce231b47e427673f5707934cc2b9..ee8a18eaa3ace6c562e4560037b79f38ca31d389 100644
|
| --- a/Source/core/svg/SVGPatternElement.cpp
|
| +++ b/Source/core/svg/SVGPatternElement.cpp
|
| @@ -62,8 +62,8 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGPatternElement)
|
| REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests)
|
| END_REGISTER_ANIMATED_PROPERTIES
|
|
|
| -inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document& document)
|
| - : SVGElement(tagName, document)
|
| +inline SVGPatternElement::SVGPatternElement(Document& document)
|
| + : SVGElement(SVGNames::patternTag, document)
|
| , m_x(LengthModeWidth)
|
| , m_y(LengthModeHeight)
|
| , m_width(LengthModeWidth)
|
| @@ -71,14 +71,13 @@ inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Docume
|
| , m_patternUnits(SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX)
|
| , m_patternContentUnits(SVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE)
|
| {
|
| - ASSERT(hasTagName(SVGNames::patternTag));
|
| ScriptWrappable::init(this);
|
| registerAnimatedPropertiesForSVGPatternElement();
|
| }
|
|
|
| -PassRefPtr<SVGPatternElement> SVGPatternElement::create(const QualifiedName& tagName, Document& document)
|
| +PassRefPtr<SVGPatternElement> SVGPatternElement::create(Document& document)
|
| {
|
| - return adoptRef(new SVGPatternElement(tagName, document));
|
| + return adoptRef(new SVGPatternElement(document));
|
| }
|
|
|
| bool SVGPatternElement::isSupportedAttribute(const QualifiedName& attrName)
|
|
|