summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLHeadElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLHeadElement.cpp')
-rw-r--r--WebCore/html/HTMLHeadElement.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/html/HTMLHeadElement.cpp b/WebCore/html/HTMLHeadElement.cpp
index 349f4ed..5e3c509 100644
--- a/WebCore/html/HTMLHeadElement.cpp
+++ b/WebCore/html/HTMLHeadElement.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) 2000 Simon Hausmann (hausmann@kde.org)
@@ -32,9 +30,10 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLHeadElement::HTMLHeadElement(Document* doc)
- : HTMLElement(headTag, doc)
+HTMLHeadElement::HTMLHeadElement(const QualifiedName& qName, Document* doc)
+ : HTMLElement(qName, doc)
{
+ ASSERT(hasTagName(headTag));
}
HTMLHeadElement::~HTMLHeadElement()