| Index: Source/core/html/HTMLStyleElement.cpp
|
| diff --git a/Source/core/html/HTMLStyleElement.cpp b/Source/core/html/HTMLStyleElement.cpp
|
| index 31f0e1856df55f390d30d88cef5c31707fd7f7f5..87d873b1246bee0ff12ecfb467d43ac7c240a291 100644
|
| --- a/Source/core/html/HTMLStyleElement.cpp
|
| +++ b/Source/core/html/HTMLStyleElement.cpp
|
| @@ -44,14 +44,13 @@ static StyleEventSender& styleLoadEventSender()
|
| return sharedLoadEventSender;
|
| }
|
|
|
| -inline HTMLStyleElement::HTMLStyleElement(const QualifiedName& tagName, Document& document, bool createdByParser)
|
| - : HTMLElement(tagName, document)
|
| +inline HTMLStyleElement::HTMLStyleElement(Document& document, bool createdByParser)
|
| + : HTMLElement(styleTag, document)
|
| , StyleElement(&document, createdByParser)
|
| , m_firedLoad(false)
|
| , m_loadedSheet(false)
|
| , m_scopedStyleRegistrationState(NotRegistered)
|
| {
|
| - ASSERT(hasTagName(styleTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| @@ -64,9 +63,9 @@ HTMLStyleElement::~HTMLStyleElement()
|
| styleLoadEventSender().cancelEvent(this);
|
| }
|
|
|
| -PassRefPtr<HTMLStyleElement> HTMLStyleElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
|
| +PassRefPtr<HTMLStyleElement> HTMLStyleElement::create(Document& document, bool createdByParser)
|
| {
|
| - return adoptRef(new HTMLStyleElement(tagName, document, createdByParser));
|
| + return adoptRef(new HTMLStyleElement(document, createdByParser));
|
| }
|
|
|
| void HTMLStyleElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
|
|