-
miu@chromium.org authored
Crash fix: Remove MessageLoop from AudioPowerMonitor and instead use MessageLoopProxy in AudioOutputController. Root cause: AudioPowerMonitor held a reference to the audio thread's MessageLoop and erroneously assumed it would be valid until after the audio stream is closed. However, at browser shutdown, it's possible for audio streams to be closed by the correct thread, but *after* the MessageLoop associated with the thread is destroyed. BUG=268629 TEST=media_unittests and manual confirmation by running a browser with the --enable-audible-notifications command-line flag. Review URL: https://chromiumcodereview.appspot.com/22339024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217142 0039d316-1c4b-4281-b951-d872f2087c98
a49a7aff