• Max Morin's avatar
    Fix yet another AudioOutputDevice crash. · a7c1c185
    Max Morin authored
    Bug is identical to the last :/. No idea why it's much more frequent with mojo,
    possibly a race is likely to happen when destroying a frame: |callback_| is
    destroyed due to frame being destroyed, and authorization is failed for the
    same reason. With the per process message filter, authorization wouldn't fail
    due to the frame being destructed.
    
    Bug: 819277
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: Ic17dc96d2c83a08732b43094bac2f2c3fa7035ad
    Reviewed-on: https://chromium-review.googlesource.com/951774
    Commit-Queue: Max Morin <maxmorin@chromium.org>
    Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#541801}
    a7c1c185
audio_output_device_unittest.cc 15.3 KB