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