| Index: media/audio/sounds/sounds_manager.cc
|
| diff --git a/media/audio/sounds/sounds_manager.cc b/media/audio/sounds/sounds_manager.cc
|
| index 6564f9fc483e0ec12e0ccd47fe590561dddde73e..38e5f03065d7f8113fa9a8593ed6ffe51b0227e1 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,14 +35,14 @@ class SoundsManagerImpl : public SoundsManager {
|
|
|
| private:
|
| std::vector<linked_ptr<AudioStreamHandler> > handlers_;
|
| - scoped_refptr<base::MessageLoopProxy> message_loop_;
|
| + scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SoundsManagerImpl);
|
| };
|
|
|
| SoundsManagerImpl::SoundsManagerImpl()
|
| : handlers_(SOUND_COUNT),
|
| - message_loop_(AudioManager::Get()->GetMessageLoop()) {
|
| + task_runner_(AudioManager::Get()->GetTaskRunner()) {
|
| }
|
|
|
| SoundsManagerImpl::~SoundsManagerImpl() {
|
|
|