| 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 997a3e04ba196aeedc46775e78252417a5c0b283..85f2a1df189ad36257785fa5b550ef7b301dc1f2 100644
|
| --- a/media/base/android/media_codec_player.cc
|
| +++ b/media/base/android/media_codec_player.cc
|
| @@ -13,6 +13,7 @@
|
| #include "media/base/android/media_codec_audio_decoder.h"
|
| #include "media/base/android/media_codec_video_decoder.h"
|
| #include "media/base/android/media_player_manager.h"
|
| +#include "media/base/android/media_task_runner.h"
|
| #include "media/base/timestamp_constants.h"
|
|
|
| #define RUN_ON_MEDIA_THREAD(METHOD, ...) \
|
| @@ -28,22 +29,6 @@
|
|
|
| namespace media {
|
|
|
| -class MediaThread : public base::Thread {
|
| - public:
|
| - MediaThread() : base::Thread("BrowserMediaThread") {
|
| - Start();
|
| - }
|
| -};
|
| -
|
| -// Create media thread
|
| -base::LazyInstance<MediaThread>::Leaky
|
| - g_media_thread = LAZY_INSTANCE_INITIALIZER;
|
| -
|
| -
|
| -scoped_refptr<base::SingleThreadTaskRunner> GetMediaTaskRunner() {
|
| - return g_media_thread.Pointer()->task_runner();
|
| -}
|
| -
|
| // MediaCodecPlayer implementation.
|
|
|
| MediaCodecPlayer::MediaCodecPlayer(
|
|
|