Index: Source/core/html/HTMLBodyElement.cpp |
diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp |
index ad0cbb2c37199a28b50cae10dd131a994b7ed52a..182ec0aa1af594a8ad4242dd00112e0bf39ff8d9 100644 |
--- a/Source/core/html/HTMLBodyElement.cpp |
+++ b/Source/core/html/HTMLBodyElement.cpp |
@@ -41,21 +41,15 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLBodyElement::HTMLBodyElement(const QualifiedName& tagName, Document& document) |
- : HTMLElement(tagName, document) |
+HTMLBodyElement::HTMLBodyElement(Document& document) |
+ : HTMLElement(bodyTag, document) |
{ |
- ASSERT(hasTagName(bodyTag)); |
ScriptWrappable::init(this); |
} |
PassRefPtr<HTMLBodyElement> HTMLBodyElement::create(Document& document) |
{ |
- return adoptRef(new HTMLBodyElement(bodyTag, document)); |
-} |
- |
-PassRefPtr<HTMLBodyElement> HTMLBodyElement::create(const QualifiedName& tagName, Document& document) |
-{ |
- return adoptRef(new HTMLBodyElement(tagName, document)); |
+ return adoptRef(new HTMLBodyElement(document)); |
} |
HTMLBodyElement::~HTMLBodyElement() |