| Index: content/renderer/media/rtc_video_decoder.h
|
| diff --git a/content/renderer/media/rtc_video_decoder.h b/content/renderer/media/rtc_video_decoder.h
|
| index d73fc143d1b58b13ac03033ba94f37963bff741e..24b11b41e30fcd1d4e98d1e5a761e6dcf2134cf6 100644
|
| --- a/content/renderer/media/rtc_video_decoder.h
|
| +++ b/content/renderer/media/rtc_video_decoder.h
|
| @@ -112,7 +112,7 @@ class CONTENT_EXPORT RTCVideoDecoder
|
| FRIEND_TEST_ALL_PREFIXES(RTCVideoDecoderTest, IsBufferAfterReset);
|
| FRIEND_TEST_ALL_PREFIXES(RTCVideoDecoderTest, IsFirstBufferAfterReset);
|
|
|
| - // The meessage loop of |factories| will be saved to |vda_loop_proxy_|.
|
| + // The meessage loop of |factories| will be saved to |vda_task_runner_|.
|
| RTCVideoDecoder(
|
| const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories);
|
|
|
| @@ -201,14 +201,14 @@ class CONTENT_EXPORT RTCVideoDecoder
|
| // The size of the incoming video frames.
|
| gfx::Size frame_size_;
|
|
|
| - // The weak pointer should live and die on the |vda_loop_proxy_|;
|
| + // The weak pointer should live and die on the |vda_task_runner_|;
|
| base::WeakPtrFactory<RTCVideoDecoder> weak_factory_;
|
| base::WeakPtr<RTCVideoDecoder> weak_this_;
|
|
|
| scoped_refptr<media::GpuVideoAcceleratorFactories> factories_;
|
|
|
| - // The message loop to run callbacks on. This is from |factories_|.
|
| - scoped_refptr<base::MessageLoopProxy> vda_loop_proxy_;
|
| + // The task runner to run callbacks on. This is from |factories_|.
|
| + scoped_refptr<base::SingleThreadTaskRunner> vda_task_runner_;
|
|
|
| // The texture target used for decoded pictures.
|
| uint32 decoder_texture_target_;
|
|
|