| Index: content/common/gpu/gpu_channel.h
|
| diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
|
| index df2fd54576521d13adc53814647c3c37c1b8968d..710b31ab285b3dd01235faefacaab6c8f3561572 100644
|
| --- a/content/common/gpu/gpu_channel.h
|
| +++ b/content/common/gpu/gpu_channel.h
|
| @@ -29,7 +29,6 @@
|
| struct GPUCreateCommandBufferConfig;
|
|
|
| namespace base {
|
| -class MessageLoopProxy;
|
| class WaitableEvent;
|
| }
|
|
|
| @@ -66,7 +65,7 @@ class GpuChannel : public IPC::Listener, public IPC::Sender,
|
| bool allow_future_sync_points);
|
| ~GpuChannel() override;
|
|
|
| - void Init(base::MessageLoopProxy* io_message_loop,
|
| + void Init(base::SingleThreadTaskRunner* io_task_runner,
|
| base::WaitableEvent* shutdown_event);
|
|
|
| // Get the GpuChannelManager that owns this channel.
|
| @@ -85,8 +84,8 @@ class GpuChannel : public IPC::Listener, public IPC::Sender,
|
|
|
| int client_id() const { return client_id_; }
|
|
|
| - scoped_refptr<base::MessageLoopProxy> io_message_loop() const {
|
| - return io_message_loop_;
|
| + scoped_refptr<base::SingleThreadTaskRunner> io_task_runner() const {
|
| + return io_task_runner_;
|
| }
|
|
|
| // IPC::Listener implementation:
|
| @@ -238,7 +237,7 @@ class GpuChannel : public IPC::Listener, public IPC::Sender,
|
| IPC::Message* currently_processing_message_;
|
|
|
| scoped_refptr<GpuChannelMessageFilter> filter_;
|
| - scoped_refptr<base::MessageLoopProxy> io_message_loop_;
|
| + scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
|
|
|
| size_t num_stubs_descheduled_;
|
|
|
|
|