Index: media/filters/video_frame_stream.h |
diff --git a/media/filters/video_frame_stream.h b/media/filters/video_frame_stream.h |
index f315677247c4876fee55e79ff999f66e7107d68c..f0f91939704021bfadc300b8b83515a1d9311747 100644 |
--- a/media/filters/video_frame_stream.h |
+++ b/media/filters/video_frame_stream.h |
@@ -18,7 +18,7 @@ |
#include "media/base/video_decoder.h" |
namespace base { |
-class MessageLoopProxy; |
+class SingleThreadTaskRunner; |
} |
namespace media { |
@@ -44,9 +44,10 @@ class MEDIA_EXPORT VideoFrameStream { |
// Indicates completion of a VideoFrameStream read. |
typedef base::Callback<void(Status, const scoped_refptr<VideoFrame>&)> ReadCB; |
- VideoFrameStream(const scoped_refptr<base::MessageLoopProxy>& message_loop, |
- ScopedVector<VideoDecoder> decoders, |
- const SetDecryptorReadyCB& set_decryptor_ready_cb); |
+ VideoFrameStream( |
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
+ ScopedVector<VideoDecoder> decoders, |
+ const SetDecryptorReadyCB& set_decryptor_ready_cb); |
virtual ~VideoFrameStream(); |
// Initializes the VideoFrameStream and returns the initialization result |
@@ -134,7 +135,7 @@ class MEDIA_EXPORT VideoFrameStream { |
void StopDecoder(); |
void OnDecoderStopped(); |
- scoped_refptr<base::MessageLoopProxy> message_loop_; |
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
base::WeakPtrFactory<VideoFrameStream> weak_factory_; |
State state_; |