| Index: media/filters/video_frame_stream.h
|
| diff --git a/media/filters/video_frame_stream.h b/media/filters/video_frame_stream.h
|
| index 9b7f13876400f2407bee8d43302604757cf974cd..d680617283954230bcccda5ae913c981952a2335 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_;
|
|
|