| Index: Source/core/html/HTMLHeadElement.cpp
|
| diff --git a/Source/core/html/HTMLHeadElement.cpp b/Source/core/html/HTMLHeadElement.cpp
|
| index a0afa3049c304d3fdd09ad5e8df48c7411751b8c..8a25aa6a51d721bd7a15a189b6e4df6a32dce985 100644
|
| --- a/Source/core/html/HTMLHeadElement.cpp
|
| +++ b/Source/core/html/HTMLHeadElement.cpp
|
| @@ -30,21 +30,15 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -HTMLHeadElement::HTMLHeadElement(const QualifiedName& tagName, Document& document)
|
| - : HTMLElement(tagName, document)
|
| +HTMLHeadElement::HTMLHeadElement(Document& document)
|
| + : HTMLElement(headTag, document)
|
| {
|
| - ASSERT(hasTagName(headTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLHeadElement(headTag, document));
|
| -}
|
| -
|
| -PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(const QualifiedName& tagName, Document& document)
|
| -{
|
| - return adoptRef(new HTMLHeadElement(tagName, document));
|
| + return adoptRef(new HTMLHeadElement(document));
|
| }
|
|
|
| }
|
|
|