summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLIsIndexElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLIsIndexElement.cpp')
-rw-r--r--WebCore/html/HTMLIsIndexElement.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/WebCore/html/HTMLIsIndexElement.cpp b/WebCore/html/HTMLIsIndexElement.cpp
index 2abc23f..7bc98b6 100644
--- a/WebCore/html/HTMLIsIndexElement.cpp
+++ b/WebCore/html/HTMLIsIndexElement.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)
* (C) 2001 Dirk Mueller (mueller@kde.org)
@@ -32,10 +30,11 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLIsIndexElement::HTMLIsIndexElement(Document *doc, HTMLFormElement *f)
- : HTMLInputElement(isindexTag, doc, f)
+HTMLIsIndexElement::HTMLIsIndexElement(const QualifiedName& tagName, Document *doc, HTMLFormElement *f)
+ : HTMLInputElement(tagName, doc, f)
{
- m_name = "isindex";
+ ASSERT(hasTagName(isindexTag));
+ setDefaultName(isindexTag.localName());
}
void HTMLIsIndexElement::parseMappedAttribute(MappedAttribute* attr)