summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLHtmlElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLHtmlElement.cpp')
-rw-r--r--WebCore/html/HTMLHtmlElement.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/html/HTMLHtmlElement.cpp b/WebCore/html/HTMLHtmlElement.cpp
index dd8a609..4ed2400 100644
--- a/WebCore/html/HTMLHtmlElement.cpp
+++ b/WebCore/html/HTMLHtmlElement.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)
@@ -33,9 +31,10 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLHtmlElement::HTMLHtmlElement(Document* doc)
- : HTMLElement(htmlTag, doc)
+HTMLHtmlElement::HTMLHtmlElement(const QualifiedName& tagName, Document* doc)
+ : HTMLElement(tagName, doc)
{
+ ASSERT(hasTagName(htmlTag));
}
HTMLHtmlElement::~HTMLHtmlElement()