diff options
Diffstat (limited to 'media/base/fake_text_track_stream.cc')
-rw-r--r-- | media/base/fake_text_track_stream.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/base/fake_text_track_stream.cc b/media/base/fake_text_track_stream.cc index 183e61e..214eec4 100644 --- a/media/base/fake_text_track_stream.cc +++ b/media/base/fake_text_track_stream.cc @@ -6,13 +6,15 @@ #include "base/bind.h" #include "base/callback_helpers.h" +#include "base/single_thread_task_runner.h" +#include "base/thread_task_runner_handle.h" #include "media/base/decoder_buffer.h" #include "media/filters/webvtt_util.h" namespace media { FakeTextTrackStream::FakeTextTrackStream() - : task_runner_(base::MessageLoopProxy::current()), + : task_runner_(base::ThreadTaskRunnerHandle::Get()), stopping_(false) { } |