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

Unified Diff: media/base/android/media_codec_player.cc

Issue 1169923009: Remove remaining use of the deprecated MessageLoopProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo. Created 5 years, 6 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
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
« no previous file with comments | « media/audio/win/audio_low_latency_output_win_unittest.cc ('k') | mojo/application/public/cpp/lib/content_handler_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698