| Index: media/audio/audio_manager_base.h
|
| diff --git a/media/audio/audio_manager_base.h b/media/audio/audio_manager_base.h
|
| index 8fbe97785518911afd90bc17fc121927d6c585c1..641a6db2683833fa6124afbc15177088a20b86cc 100644
|
| --- a/media/audio/audio_manager_base.h
|
| +++ b/media/audio/audio_manager_base.h
|
| @@ -52,8 +52,9 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager {
|
|
|
| virtual ~AudioManagerBase();
|
|
|
| - virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE;
|
| - virtual scoped_refptr<base::MessageLoopProxy> GetWorkerLoop() OVERRIDE;
|
| + virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() OVERRIDE;
|
| + virtual scoped_refptr<base::SingleThreadTaskRunner> GetWorkerTaskRunner()
|
| + OVERRIDE;
|
|
|
| virtual string16 GetAudioInputDeviceModel() OVERRIDE;
|
|
|
| @@ -187,10 +188,10 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager {
|
| scoped_ptr<base::Thread> audio_thread_;
|
| mutable base::Lock audio_thread_lock_;
|
|
|
| - // The message loop of the audio thread this object runs on. Used for internal
|
| + // The task runner of the audio thread this object runs on. Used for internal
|
| // tasks which run on the audio thread even after Shutdown() has been started
|
| // and GetMessageLoop() starts returning NULL.
|
| - scoped_refptr<base::MessageLoopProxy> message_loop_;
|
| + scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
|
|
|
| // Map of cached AudioOutputDispatcher instances. Must only be touched
|
| // from the audio thread (no locking).
|
|
|