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