summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLTitleElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLTitleElement.cpp')
-rw-r--r--WebCore/html/HTMLTitleElement.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/html/HTMLTitleElement.cpp b/WebCore/html/HTMLTitleElement.cpp
index a75b1ee..b9a8de7 100644
--- a/WebCore/html/HTMLTitleElement.cpp
+++ b/WebCore/html/HTMLTitleElement.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;
-HTMLTitleElement::HTMLTitleElement(Document* doc)
- : HTMLElement(titleTag, doc)
+HTMLTitleElement::HTMLTitleElement(const QualifiedName& tagName, Document* doc)
+ : HTMLElement(tagName, doc)
, m_title("")
{
+ ASSERT(hasTagName(titleTag));
}
HTMLTitleElement::~HTMLTitleElement()