| Index: Source/core/html/HTMLDirectoryElement.cpp
|
| diff --git a/Source/core/html/HTMLDirectoryElement.cpp b/Source/core/html/HTMLDirectoryElement.cpp
|
| index 0068dfa4d42695df3f92f376cf383fb2916c1cd8..2010c5a5178c1b0807ec6e05fce5e3a739e20561 100644
|
| --- a/Source/core/html/HTMLDirectoryElement.cpp
|
| +++ b/Source/core/html/HTMLDirectoryElement.cpp
|
| @@ -29,16 +29,15 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -inline HTMLDirectoryElement::HTMLDirectoryElement(const QualifiedName& tagName, Document& document)
|
| - : HTMLElement(tagName, document)
|
| +inline HTMLDirectoryElement::HTMLDirectoryElement(Document& document)
|
| + : HTMLElement(dirTag, document)
|
| {
|
| - ASSERT(hasTagName(dirTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<HTMLDirectoryElement> HTMLDirectoryElement::create(const QualifiedName& tagName, Document& document)
|
| +PassRefPtr<HTMLDirectoryElement> HTMLDirectoryElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLDirectoryElement(tagName, document));
|
| + return adoptRef(new HTMLDirectoryElement(document));
|
| }
|
|
|
| }
|
|
|