Changeset 155382 in webkit


Ignore:
Timestamp:
Sep 9, 2013 2:32:48 PM (11 years ago)
Author:
commit-queue@webkit.org
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 <thiago.lacerda@openbossa.org> on 2013-09-09
Reviewed by Eric Carlson.

No new tests needed.

  • platform/mediastream/MediaStreamDescriptor.h:

(WebCore::MediaStreamDescriptor::removeAudioComponent):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r155380 r155382  
     12013-09-09  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
     2
     3        [Bug Fix] Calling m_audioComponents.remove in removeAudioComponent (MediaStreamDescriptor)
     4        https://bugs.webkit.org/show_bug.cgi?id=121034
     5
     6        Reviewed by Eric Carlson.
     7
     8        No new tests needed.
     9
     10        * platform/mediastream/MediaStreamDescriptor.h:
     11        (WebCore::MediaStreamDescriptor::removeAudioComponent):
     12
    1132013-09-09  Anders Carlsson  <andersca@apple.com>
    214
  • trunk/Source/WebCore/platform/mediastream/MediaStreamDescriptor.h

    r155362 r155382  
    7878    void removeAudioComponent(MediaStreamComponent* component)
    7979    {
    80         size_t pos = m_videoComponents.find(component);
     80        size_t pos = m_audioComponents.find(component);
    8181        if (pos != notFound)
    82             m_videoComponents.remove(pos);
     82            m_audioComponents.remove(pos);
    8383    }
    8484
Note: See TracChangeset for help on using the changeset viewer.