Changeset 151762 in webkit


Ignore:
Timestamp:
Jun 19, 2013, 7:18:07 PM (12 years ago)
Author:
ap@apple.com
Message:

[Mac] Common crashes when playing media
https://bugs.webkit.org/show_bug.cgi?id=117813
<rdar://problem/13837412>

Reviewed by Eric Carlson.

  • platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (-[WebCoreAVFLoaderDelegate resourceLoader:didCancelLoadingRequest:]): This method may be called from a secondary thread, but it does things that are not thread safe.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r151761 r151762  
     12013-06-19  Alexey Proskuryakov  <ap@apple.com>
     2
     3        [Mac] Common crashes when playing media
     4        https://bugs.webkit.org/show_bug.cgi?id=117813
     5        <rdar://problem/13837412>
     6
     7        Reviewed by Eric Carlson.
     8
     9        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
     10        (-[WebCoreAVFLoaderDelegate resourceLoader:didCancelLoadingRequest:]):
     11        This method may be called from a secondary thread, but it does things that are
     12        not thread safe.
     13
    1142013-06-19  Yuki Sekiguchi  <yuki.sekiguchi@access-company.com>
    215
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

    r151473 r151762  
    17101710        return;
    17111711
    1712     return m_callback->didCancelLoadingRequest(loadingRequest);
     1712    dispatch_async(dispatch_get_main_queue(), ^{
     1713        if (m_callback)
     1714            m_callback->didCancelLoadingRequest(loadingRequest);
     1715    });
    17131716}
    17141717
Note: See TracChangeset for help on using the changeset viewer.