summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLMapElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLMapElement.cpp')
-rw-r--r--WebCore/html/HTMLMapElement.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/html/HTMLMapElement.cpp b/WebCore/html/HTMLMapElement.cpp
index 891f560..d7109c9 100644
--- a/WebCore/html/HTMLMapElement.cpp
+++ b/WebCore/html/HTMLMapElement.cpp
@@ -34,9 +34,10 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLMapElement::HTMLMapElement(Document *doc)
- : HTMLElement(mapTag, doc)
+HTMLMapElement::HTMLMapElement(const QualifiedName& tagName, Document* doc)
+ : HTMLElement(tagName, doc)
{
+ ASSERT(hasTagName(mapTag));
}
HTMLMapElement::~HTMLMapElement()