summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLDivElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLDivElement.cpp')
-rw-r--r--WebCore/html/HTMLDivElement.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/html/HTMLDivElement.cpp b/WebCore/html/HTMLDivElement.cpp
index 3aab91b..7ffccd7 100644
--- a/WebCore/html/HTMLDivElement.cpp
+++ b/WebCore/html/HTMLDivElement.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)
* Copyright (C) 2003 Apple Computer, Inc.
@@ -32,9 +30,10 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLDivElement::HTMLDivElement(Document *doc)
- : HTMLElement(divTag, doc)
+HTMLDivElement::HTMLDivElement(const QualifiedName& tagName, Document *doc)
+ : HTMLElement(tagName, doc)
{
+ ASSERT(hasTagName(divTag));
}
HTMLDivElement::~HTMLDivElement()