summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLHRElement.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
commit635860845790a19bf50bbc51ba8fb66a96dde068 (patch)
treeef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/html/HTMLHRElement.cpp
parent8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff)
downloadexternal_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip
external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz
external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2
auto import from //depot/cupcake/@136594
Diffstat (limited to 'WebCore/html/HTMLHRElement.cpp')
-rw-r--r--WebCore/html/HTMLHRElement.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/html/HTMLHRElement.cpp b/WebCore/html/HTMLHRElement.cpp
index 743b0d2..8be23fd 100644
--- a/WebCore/html/HTMLHRElement.cpp
+++ b/WebCore/html/HTMLHRElement.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;
-HTMLHRElement::HTMLHRElement(Document *doc)
- : HTMLElement(hrTag, doc)
+HTMLHRElement::HTMLHRElement(const QualifiedName& tagName, Document* doc)
+ : HTMLElement(tagName, doc)
{
+ ASSERT(hasTagName(hrTag));
}
HTMLHRElement::~HTMLHRElement()