diff options
Diffstat (limited to 'WebCore/html/HTMLAudioElement.h')
-rw-r--r-- | WebCore/html/HTMLAudioElement.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/html/HTMLAudioElement.h b/WebCore/html/HTMLAudioElement.h index 2f06f1a..e453486 100644 --- a/WebCore/html/HTMLAudioElement.h +++ b/WebCore/html/HTMLAudioElement.h @@ -36,9 +36,12 @@ namespace WebCore { class HTMLAudioElement : public HTMLMediaElement { public: + static PassRefPtr<HTMLAudioElement> create(const QualifiedName&, Document*); static PassRefPtr<HTMLAudioElement> createForJSConstructor(Document*, const String& src); - HTMLAudioElement(const QualifiedName&, Document*); + private: + HTMLAudioElement(const QualifiedName&, Document*); + virtual bool isVideo() const { return false; } virtual int tagPriority() const { return 5; } }; |