| Index: media/audio/sounds/sounds_manager.cc
|
| diff --git a/media/audio/sounds/sounds_manager.cc b/media/audio/sounds/sounds_manager.cc
|
| index e93dc6588dde598ef27263eaa4f351b543a5d808..de6ff094d6e3fe750e5ac58ac968ae9b67f2e7c0 100644
|
| --- a/media/audio/sounds/sounds_manager.cc
|
| +++ b/media/audio/sounds/sounds_manager.cc
|
| @@ -9,7 +9,7 @@
|
| #include "base/logging.h"
|
| #include "base/memory/linked_ptr.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/message_loop/message_loop_proxy.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "media/audio/audio_manager.h"
|
| #include "media/audio/sounds/audio_stream_handler.h"
|
| #include "media/base/media_switches.h"
|
| @@ -35,13 +35,14 @@ class SoundsManagerImpl : public SoundsManager {
|
|
|
| private:
|
| base::hash_map<SoundKey, linked_ptr<AudioStreamHandler> > handlers_;
|
| - scoped_refptr<base::MessageLoopProxy> message_loop_;
|
| + scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SoundsManagerImpl);
|
| };
|
|
|
| SoundsManagerImpl::SoundsManagerImpl()
|
| - : message_loop_(AudioManager::Get()->GetMessageLoop()) {}
|
| + : task_runner_(AudioManager::Get()->GetTaskRunner()) {
|
| +}
|
|
|
| SoundsManagerImpl::~SoundsManagerImpl() { DCHECK(CalledOnValidThread()); }
|
|
|
|
|