diff options
Diffstat (limited to 'WebCore/html/HTMLMenuElement.cpp')
-rw-r--r-- | WebCore/html/HTMLMenuElement.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/html/HTMLMenuElement.cpp b/WebCore/html/HTMLMenuElement.cpp index 78e2109..69497ef 100644 --- a/WebCore/html/HTMLMenuElement.cpp +++ b/WebCore/html/HTMLMenuElement.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; -HTMLMenuElement::HTMLMenuElement(Document* doc) - : HTMLElement(HTMLNames::menuTag, doc) +HTMLMenuElement::HTMLMenuElement(const QualifiedName& tagName, Document* doc) + : HTMLElement(tagName, doc) { + ASSERT(hasTagName(menuTag)); } bool HTMLMenuElement::compact() const |