diff options
author | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-24 04:23:48 +0000 |
---|---|---|
committer | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-24 04:23:48 +0000 |
commit | 478a03a78bddfecadfbf61945227a3933aaf0d08 (patch) | |
tree | b181bf2e0576d074b6f096e670903a065eab363b /media/audio/audio_manager_base.h | |
parent | 047ee0c37da7b7b1e7611f23b1cb463e63c35a54 (diff) | |
download | chromium_src-478a03a78bddfecadfbf61945227a3933aaf0d08.zip chromium_src-478a03a78bddfecadfbf61945227a3933aaf0d08.tar.gz chromium_src-478a03a78bddfecadfbf61945227a3933aaf0d08.tar.bz2 |
Fix invalid bind usage during AudioManagerBase construction.
Doh, the old way was not correct at all. We're using this
before construction completes. /shame
Fixes a bunch of tsan error reports from the original CL:
http://codereview.chromium.org/11175066/
BUG=none
TEST=unit tests still pass.
Review URL: https://chromiumcodereview.appspot.com/11260002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/audio_manager_base.h')
-rw-r--r-- | media/audio/audio_manager_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/audio/audio_manager_base.h b/media/audio/audio_manager_base.h index b6c8b27..b14452f 100644 --- a/media/audio/audio_manager_base.h +++ b/media/audio/audio_manager_base.h @@ -121,8 +121,8 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager { // thread. void NotifyAllOutputDeviceChangeListeners(); - // Called on |audio_thread_|'s message loop immediately after construction. - virtual void InitializeOnAudioThread(); + // AudioManager implementation. + virtual void InitializeOnAudioThread() OVERRIDE; // Map of cached AudioOutputDispatcher instances. Must only be touched // from the audio thread (no locking). |