| Index: media/audio/audio_manager_base.cc
|
| diff --git a/media/audio/audio_manager_base.cc b/media/audio/audio_manager_base.cc
|
| index 8c1dda29f70d474529735256c9c7a6416ba04511..622b38f0b429137bef614d980a41f067846565db 100644
|
| --- a/media/audio/audio_manager_base.cc
|
| +++ b/media/audio/audio_manager_base.cc
|
| @@ -138,9 +138,7 @@ AudioManagerBase::GetWorkerTaskRunner() {
|
| AudioOutputStream* AudioManagerBase::MakeAudioOutputStream(
|
| const AudioParameters& params,
|
| const std::string& device_id) {
|
| - // TODO(miu): Fix ~50 call points across several unit test modules to call
|
| - // this method on the audio thread, then uncomment the following:
|
| - // DCHECK(task_runner_->BelongsToCurrentThread());
|
| + DCHECK(task_runner_->BelongsToCurrentThread());
|
|
|
| if (!params.IsValid()) {
|
| DLOG(ERROR) << "Audio parameters are invalid";
|
| @@ -187,9 +185,7 @@ AudioOutputStream* AudioManagerBase::MakeAudioOutputStream(
|
| AudioInputStream* AudioManagerBase::MakeAudioInputStream(
|
| const AudioParameters& params,
|
| const std::string& device_id) {
|
| - // TODO(miu): Fix ~20 call points across several unit test modules to call
|
| - // this method on the audio thread, then uncomment the following:
|
| - // DCHECK(task_runner_->BelongsToCurrentThread());
|
| + DCHECK(task_runner_->BelongsToCurrentThread());
|
|
|
| if (!params.IsValid() || (params.channels() > kMaxInputChannels) ||
|
| device_id.empty()) {
|
|
|