Title: [155382] trunk/Source/WebCore
- Revision
- 155382
- Author
- [email protected]
- Date
- 2013-09-09 14:32:48 -0700 (Mon, 09 Sep 2013)
Log Message
[Bug Fix] Calling m_audioComponents.remove in removeAudioComponent (MediaStreamDescriptor)
https://bugs.webkit.org/show_bug.cgi?id=121034
Patch by Thiago de Barros Lacerda <[email protected]> on 2013-09-09
Reviewed by Eric Carlson.
No new tests needed.
* platform/mediastream/MediaStreamDescriptor.h:
(WebCore::MediaStreamDescriptor::removeAudioComponent):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (155381 => 155382)
--- trunk/Source/WebCore/ChangeLog 2013-09-09 21:23:15 UTC (rev 155381)
+++ trunk/Source/WebCore/ChangeLog 2013-09-09 21:32:48 UTC (rev 155382)
@@ -1,3 +1,15 @@
+2013-09-09 Thiago de Barros Lacerda <[email protected]>
+
+ [Bug Fix] Calling m_audioComponents.remove in removeAudioComponent (MediaStreamDescriptor)
+ https://bugs.webkit.org/show_bug.cgi?id=121034
+
+ Reviewed by Eric Carlson.
+
+ No new tests needed.
+
+ * platform/mediastream/MediaStreamDescriptor.h:
+ (WebCore::MediaStreamDescriptor::removeAudioComponent):
+
2013-09-09 Anders Carlsson <[email protected]>
Stop using WTF type traits in WebCore
Modified: trunk/Source/WebCore/platform/mediastream/MediaStreamDescriptor.h (155381 => 155382)
--- trunk/Source/WebCore/platform/mediastream/MediaStreamDescriptor.h 2013-09-09 21:23:15 UTC (rev 155381)
+++ trunk/Source/WebCore/platform/mediastream/MediaStreamDescriptor.h 2013-09-09 21:32:48 UTC (rev 155382)
@@ -77,9 +77,9 @@
void addAudioComponent(PassRefPtr<MediaStreamComponent> component) { m_audioComponents.append(component); }
void removeAudioComponent(MediaStreamComponent* component)
{
- size_t pos = m_videoComponents.find(component);
+ size_t pos = m_audioComponents.find(component);
if (pos != notFound)
- m_videoComponents.remove(pos);
+ m_audioComponents.remove(pos);
}
void addRemoteTrack(MediaStreamComponent* component)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes