Changeset 152150 in webkit
- Timestamp:
- Jun 27, 2013 7:28:21 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r152149 r152150 1 2013-06-27 Kangil Han <kangil.han@samsung.com> 2 3 HTMLAudioElement doesn't have to know about isVideo function 4 https://bugs.webkit.org/show_bug.cgi?id=118116 5 6 Reviewed by Eric Carlson. 7 8 Minor code cleanup to remove isVideo function from HTMLAudioElement. 9 We can use default function in HTMLMediaElement as hasVideo does. 10 11 * html/HTMLAudioElement.h: 12 * html/HTMLMediaElement.h: 13 (WebCore::HTMLMediaElement::isVideo): 14 1 15 2013-06-27 Kangil Han <kangil.han@samsung.com> 2 16 -
trunk/Source/WebCore/html/HTMLAudioElement.h
r151981 r152150 42 42 private: 43 43 HTMLAudioElement(const QualifiedName&, Document*, bool); 44 45 virtual bool isVideo() const { return false; }46 44 }; 47 45 -
trunk/Source/WebCore/html/HTMLMediaElement.h
r151958 r152150 102 102 MediaPlayer* player() const { return m_player.get(); } 103 103 104 virtual bool isVideo() const = 0;104 virtual bool isVideo() const { return false; } 105 105 virtual bool hasVideo() const { return false; } 106 106 virtual bool hasAudio() const;
Note: See TracChangeset
for help on using the changeset viewer.