| Index: content/common/gpu/media/gpu_video_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
|
| index cab2a2285cd346add4ea6ddbbfe3793a39fc05dc..85a46522b00f2cc6093e151cc80e137d1139f6cb 100644
|
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
|
| @@ -20,6 +20,10 @@
|
| #include "media/video/video_decode_accelerator.h"
|
| #include "ui/gfx/geometry/size.h"
|
|
|
| +namespace base {
|
| +class MessageLoopProxy;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class GpuVideoDecodeAccelerator
|
| @@ -34,7 +38,7 @@
|
| GpuVideoDecodeAccelerator(
|
| int32 host_route_id,
|
| GpuCommandBufferStub* stub,
|
| - const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner);
|
| + const scoped_refptr<base::MessageLoopProxy>& io_message_loop);
|
|
|
| // IPC::Listener implementation.
|
| bool OnMessageReceived(const IPC::Message& message) override;
|
| @@ -136,11 +140,11 @@
|
| // destroy the VDA.
|
| base::WaitableEvent filter_removed_;
|
|
|
| - // GPU child thread task runner.
|
| - const scoped_refptr<base::SingleThreadTaskRunner> child_task_runner_;
|
| + // GPU child message loop.
|
| + const scoped_refptr<base::MessageLoopProxy> child_message_loop_;
|
|
|
| - // GPU IO thread task runner.
|
| - const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
|
| + // GPU IO message loop.
|
| + const scoped_refptr<base::MessageLoopProxy> io_message_loop_;
|
|
|
| // Weak pointers will be invalidated on IO thread.
|
| base::WeakPtrFactory<Client> weak_factory_for_io_;
|
|
|