HTMLAudioElement doesn't have to know about isVideo function
authorkangil.han@samsung.com <kangil.han@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Jun 2013 02:28:21 +0000 (02:28 +0000)
committerkangil.han@samsung.com <kangil.han@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Jun 2013 02:28:21 +0000 (02:28 +0000)
commit2d52fcfb5ea513bc7839110d21d9e99ce51684fe
tree04df3c7db9cf48514460fe279ea2622c016ad60d
parent2cda0c12cc805e4d36e4b095c6744e92a0b6980a
HTMLAudioElement doesn't have to know about isVideo function
https://bugs.webkit.org/show_bug.cgi?id=118116

Reviewed by Eric Carlson.

Minor code cleanup to remove isVideo function from HTMLAudioElement.
We can use default function in HTMLMediaElement as hasVideo does.

* html/HTMLAudioElement.h:
* html/HTMLMediaElement.h:
(WebCore::HTMLMediaElement::isVideo):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@152150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLAudioElement.h
Source/WebCore/html/HTMLMediaElement.h