| Index: content/common/gpu/gpu_command_buffer_stub.cc
|
| diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
|
| index 5c878fca0727a22ca1f12424a63cdf1bc39fc2b6..b026052bbbe3b55b417936acd33350d5b313b2f4 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -385,8 +385,9 @@
|
| delay = 0;
|
| }
|
|
|
| - base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
|
| - FROM_HERE, base::Bind(&GpuCommandBufferStub::PollWork, AsWeakPtr()),
|
| + base::MessageLoop::current()->PostDelayedTask(
|
| + FROM_HERE,
|
| + base::Bind(&GpuCommandBufferStub::PollWork, AsWeakPtr()),
|
| base::TimeDelta::FromMilliseconds(delay));
|
| }
|
|
|
| @@ -830,7 +831,7 @@
|
| IPC::Message* reply_message) {
|
| TRACE_EVENT0("gpu", "GpuCommandBufferStub::OnCreateVideoDecoder");
|
| GpuVideoDecodeAccelerator* decoder = new GpuVideoDecodeAccelerator(
|
| - decoder_route_id, this, channel_->io_task_runner());
|
| + decoder_route_id, this, channel_->io_message_loop());
|
| decoder->Initialize(profile, reply_message);
|
| // decoder is registered as a DestructionObserver of this stub and will
|
| // self-delete during destruction of this stub.
|
|
|