Index: media/base/android/media_codec_player.cc |
diff --git a/media/base/android/media_codec_player.cc b/media/base/android/media_codec_player.cc |
index d7f847336606bee296b72c60d07083259f8c49d8..ca6f01ed0a093d36d43fbc2f6c75f748886607b0 100644 |
--- a/media/base/android/media_codec_player.cc |
+++ b/media/base/android/media_codec_player.cc |
@@ -7,6 +7,7 @@ |
#include "base/bind.h" |
#include "base/lazy_instance.h" |
#include "base/logging.h" |
+#include "base/thread_task_runner_handle.h" |
#define RUN_ON_MEDIA_THREAD(METHOD, ...) \ |
do { \ |
@@ -49,7 +50,7 @@ MediaCodecPlayer::MediaCodecPlayer( |
manager, |
request_media_resources_cb, |
frame_url), |
- ui_task_runner_(base::MessageLoopProxy::current()), |
+ ui_task_runner_(base::ThreadTaskRunnerHandle::Get()), |
demuxer_(demuxer.Pass()), |
weak_factory_(this) { |
// UI thread |