diff options
Diffstat (limited to 'media/audio/audio_manager_base.cc')
-rw-r--r-- | media/audio/audio_manager_base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/audio_manager_base.cc b/media/audio/audio_manager_base.cc index dae8135..20f6169 100644 --- a/media/audio/audio_manager_base.cc +++ b/media/audio/audio_manager_base.cc @@ -97,7 +97,7 @@ AudioManagerBase::AudioManagerBase(AudioLogFactory* audio_log_factory) const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); if (!cmd_line->HasSwitch(switches::kDisableMainThreadAudio) && base::MessageLoopProxy::current().get() && - base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_UI)) { + base::MessageLoopForUI::IsCurrent()) { task_runner_ = base::MessageLoopProxy::current(); return; } |