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, 5 insertions, 0 deletions
diff --git a/WebCore/html/HTMLAudioElement.cpp b/WebCore/html/HTMLAudioElement.cpp
index 6018b52..0b229ff 100644
--- a/WebCore/html/HTMLAudioElement.cpp
+++ b/WebCore/html/HTMLAudioElement.cpp
@@ -41,6 +41,11 @@ HTMLAudioElement::HTMLAudioElement(const QualifiedName& tagName, Document* docum
ASSERT(hasTagName(audioTag));
}
+PassRefPtr<HTMLAudioElement> HTMLAudioElement::create(const QualifiedName& tagName, Document* document)
+{
+ return new HTMLAudioElement(tagName, document);
+}
+
PassRefPtr<HTMLAudioElement> HTMLAudioElement::createForJSConstructor(Document* document, const String& src)
{
RefPtr<HTMLAudioElement> audio = new HTMLAudioElement(audioTag, document);