summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLLIElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLLIElement.cpp')
-rw-r--r--WebCore/html/HTMLLIElement.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/html/HTMLLIElement.cpp b/WebCore/html/HTMLLIElement.cpp
index 6cb9304..2d5518e 100644
--- a/WebCore/html/HTMLLIElement.cpp
+++ b/WebCore/html/HTMLLIElement.cpp
@@ -32,10 +32,11 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLLIElement::HTMLLIElement(Document* doc)
- : HTMLElement(HTMLNames::liTag, doc)
+HTMLLIElement::HTMLLIElement(const QualifiedName& tagName, Document* doc)
+ : HTMLElement(tagName, doc)
, m_requestedValue(0)
{
+ ASSERT(hasTagName(liTag));
}
bool HTMLLIElement::mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const