| Index: Source/core/html/HTMLHtmlElement.cpp
|
| diff --git a/Source/core/html/HTMLHtmlElement.cpp b/Source/core/html/HTMLHtmlElement.cpp
|
| index fe9f0ac9aa310646c05416460ae0e317613bd992..e4a56c917c41464cc80e0809bcb13e09f116c9b1 100644
|
| --- a/Source/core/html/HTMLHtmlElement.cpp
|
| +++ b/Source/core/html/HTMLHtmlElement.cpp
|
| @@ -36,21 +36,15 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -HTMLHtmlElement::HTMLHtmlElement(const QualifiedName& tagName, Document& document)
|
| - : HTMLElement(tagName, document)
|
| +HTMLHtmlElement::HTMLHtmlElement(Document& document)
|
| + : HTMLElement(htmlTag, document)
|
| {
|
| - ASSERT(hasTagName(htmlTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| PassRefPtr<HTMLHtmlElement> HTMLHtmlElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLHtmlElement(htmlTag, document));
|
| -}
|
| -
|
| -PassRefPtr<HTMLHtmlElement> HTMLHtmlElement::create(const QualifiedName& tagName, Document& document)
|
| -{
|
| - return adoptRef(new HTMLHtmlElement(tagName, document));
|
| + return adoptRef(new HTMLHtmlElement(document));
|
| }
|
|
|
| bool HTMLHtmlElement::isURLAttribute(const Attribute& attribute) const
|
|
|