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

Unified Diff: media/base/fake_text_track_stream.cc

Issue 1108773002: [media] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build break Created 5 years, 8 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/bind_to_current_loop.h ('k') | media/base/serial_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_text_track_stream.cc
diff --git a/media/base/fake_text_track_stream.cc b/media/base/fake_text_track_stream.cc
index 183e61ef2caf14ef7ce5e0dcd6ff8e74b6db7cea..214eec435bbcf8a5c20d91a86c50f374f19d992b 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) {
}
« no previous file with comments | « media/base/bind_to_current_loop.h ('k') | media/base/serial_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698