summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLDirectoryElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLDirectoryElement.cpp')
-rw-r--r--WebCore/html/HTMLDirectoryElement.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/html/HTMLDirectoryElement.cpp b/WebCore/html/HTMLDirectoryElement.cpp
index 4153ed4..173969c 100644
--- a/WebCore/html/HTMLDirectoryElement.cpp
+++ b/WebCore/html/HTMLDirectoryElement.cpp
@@ -1,6 +1,4 @@
/**
- * This file is part of the DOM implementation for KDE.
- *
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
*
@@ -29,9 +27,10 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLDirectoryElement::HTMLDirectoryElement(Document* doc)
- : HTMLElement(HTMLNames::dirTag, doc)
+HTMLDirectoryElement::HTMLDirectoryElement(const QualifiedName& tagName, Document* doc)
+ : HTMLElement(tagName, doc)
{
+ ASSERT(hasTagName(dirTag));
}
bool HTMLDirectoryElement::compact() const