• perkj's avatar
    Make sure Blink WebRTCSessionDescriptionRequest and WebRTCVoidRequest are... · 44acfec4
    perkj authored
    Make sure Blink WebRTCSessionDescriptionRequest and WebRTCVoidRequest are deleted on the correct thread in RTCPeerConnectionHandler.
    Blink objects must always be destroyed on the main render thread. Since the object holding WebRTCSessionDescriptionRequest and WebRTCVoidRequest in rtc_peerconnection_handler.cc are refcounted, the destructor is not ensured to run on the main render thread.
    
    BUG=470047
    
    Review URL: https://codereview.chromium.org/1023443007
    
    Cr-Commit-Position: refs/heads/master@{#321989}
    44acfec4
rtc_peer_connection_handler.cc 55.2 KB