| Index: Source/core/svg/SVGStyleElement.cpp
|
| diff --git a/Source/core/svg/SVGStyleElement.cpp b/Source/core/svg/SVGStyleElement.cpp
|
| index adb399dbd99f4c18cccb9b861de8dac3a5e7328d..865caa5c45102151e6eda6901511db0bbdcfa9ef 100644
|
| --- a/Source/core/svg/SVGStyleElement.cpp
|
| +++ b/Source/core/svg/SVGStyleElement.cpp
|
| @@ -29,12 +29,11 @@
|
|
|
| namespace WebCore {
|
|
|
| -inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document& document, bool createdByParser)
|
| - : SVGElement(tagName, document)
|
| +inline SVGStyleElement::SVGStyleElement(Document& document, bool createdByParser)
|
| + : SVGElement(SVGNames::styleTag, document)
|
| , StyleElement(&document, createdByParser)
|
| , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired)
|
| {
|
| - ASSERT(hasTagName(SVGNames::styleTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| @@ -43,9 +42,9 @@ SVGStyleElement::~SVGStyleElement()
|
| StyleElement::clearDocumentData(document(), this);
|
| }
|
|
|
| -PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
|
| +PassRefPtr<SVGStyleElement> SVGStyleElement::create(Document& document, bool createdByParser)
|
| {
|
| - return adoptRef(new SVGStyleElement(tagName, document, createdByParser));
|
| + return adoptRef(new SVGStyleElement(document, createdByParser));
|
| }
|
|
|
| bool SVGStyleElement::disabled() const
|
|
|