Changeset 157280 in webkit
- Timestamp:
- Oct 10, 2013 5:40:55 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r157278 r157280 1 2013-10-10 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> 2 3 Making the base implementation of isAudioStreamSource, in MediaStreamSource, return the correct value 4 https://bugs.webkit.org/show_bug.cgi?id=122612 5 6 Reviewed by Jer Noble. 7 8 There is no reason for this implementation, in the base class, to always return false 9 if we already have the information about the type of the source. 10 11 No new tests needed. 12 13 * Modules/webaudio/MediaStreamAudioSource.h: 14 * platform/mediastream/MediaStreamSource.h: 15 (WebCore::MediaStreamSource::isAudioStreamSource): 16 1 17 2013-10-10 Timothy Hatcher <timothy@apple.com> 2 18 -
trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.h
r157068 r157280 46 46 ~MediaStreamAudioSource() { } 47 47 48 virtual bool isAudioStreamSource() const { return true; }49 48 virtual bool useIDForTrackID() const { return true; } 50 49 -
trunk/Source/WebCore/platform/mediastream/MediaStreamSource.h
r157068 r157280 66 66 virtual ~MediaStreamSource() { } 67 67 68 virtual bool isAudioStreamSource() const { return false; }68 bool isAudioStreamSource() const { return type() == Audio; } 69 69 virtual bool useIDForTrackID() const { return false; } 70 70
Note: See TracChangeset
for help on using the changeset viewer.