Changeset 246211 in webkit


Ignore:
Timestamp:
Jun 7, 2019 1:07:55 PM (5 years ago)
Author:
youenn@apple.com
Message:

Add a RELEASE_ASSERT that removeAudioProducer should always be done in the main thread
https://bugs.webkit.org/show_bug.cgi?id=198668

Reviewed by Eric Carlson.

See rdar://problem/49444622 for background information.
No change of behavior.

  • dom/Document.cpp:

(WebCore::Document::removeAudioProducer):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r246207 r246211  
     12019-06-07  Youenn Fablet  <youenn@apple.com>
     2
     3        Add a RELEASE_ASSERT that removeAudioProducer should always be done in the main thread
     4        https://bugs.webkit.org/show_bug.cgi?id=198668
     5
     6        Reviewed by Eric Carlson.
     7
     8        See rdar://problem/49444622 for background information.
     9        No change of behavior.
     10
     11        * dom/Document.cpp:
     12        (WebCore::Document::removeAudioProducer):
     13
    1142019-06-07  Zalan Bujtas  <zalan@apple.com>
    215
  • trunk/Source/WebCore/dom/Document.cpp

    r246182 r246211  
    39343934void Document::removeAudioProducer(MediaProducer& audioProducer)
    39353935{
     3936    RELEASE_ASSERT(isMainThread());
    39363937    m_audioProducers.remove(audioProducer);
    39373938    updateIsPlayingMedia();
Note: See TracChangeset for help on using the changeset viewer.