| Index: Source/core/html/HTMLLIElement.cpp
|
| diff --git a/Source/core/html/HTMLLIElement.cpp b/Source/core/html/HTMLLIElement.cpp
|
| index b6da138ce1d1e281ca65f683912ee0b16929d548..d5a7896a47d3aa0f42c22dd9d1b3a5e4afe76502 100644
|
| --- a/Source/core/html/HTMLLIElement.cpp
|
| +++ b/Source/core/html/HTMLLIElement.cpp
|
| @@ -32,21 +32,15 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -HTMLLIElement::HTMLLIElement(const QualifiedName& tagName, Document& document)
|
| - : HTMLElement(tagName, document)
|
| +HTMLLIElement::HTMLLIElement(Document& document)
|
| + : HTMLElement(liTag, document)
|
| {
|
| - ASSERT(hasTagName(liTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| PassRefPtr<HTMLLIElement> HTMLLIElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLLIElement(liTag, document));
|
| -}
|
| -
|
| -PassRefPtr<HTMLLIElement> HTMLLIElement::create(const QualifiedName& tagName, Document& document)
|
| -{
|
| - return adoptRef(new HTMLLIElement(tagName, document));
|
| + return adoptRef(new HTMLLIElement(document));
|
| }
|
|
|
| bool HTMLLIElement::isPresentationAttribute(const QualifiedName& name) const
|
|
|