Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Unified Diff: media/filters/android/media_codec_audio_decoder.cc

Issue 2491613004: Make base::Timer sequence-friendly. (Closed)
Patch Set: add back commented out DCHECK in Stop() Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/android/media_codec_loop_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/android/media_codec_audio_decoder.cc
diff --git a/media/filters/android/media_codec_audio_decoder.cc b/media/filters/android/media_codec_audio_decoder.cc
index 0fe3b81bd21b773e1156a0069340bb3ce8b2e9a1..8a7d48fc4aeae7dbb663209f441f71067cf8cc65 100644
--- a/media/filters/android/media_codec_audio_decoder.cc
+++ b/media/filters/android/media_codec_audio_decoder.cc
@@ -140,7 +140,8 @@ bool MediaCodecAudioDecoder::CreateMediaCodecLoop() {
codec_loop_.reset(
new MediaCodecLoop(base::android::BuildInfo::GetInstance()->sdk_int(),
- this, std::move(audio_codec_bridge)));
+ this, std::move(audio_codec_bridge),
+ scoped_refptr<base::SingleThreadTaskRunner>()));
return true;
}
« no previous file with comments | « media/base/android/media_codec_loop_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698