| Index: content/common/gpu/gpu_channel_manager_unittest.cc
|
| diff --git a/content/common/gpu/gpu_channel_manager_unittest.cc b/content/common/gpu/gpu_channel_manager_unittest.cc
|
| index 2388a2e984bb51fce2dfceacfe29403d74f88a60..5f190f4c4913a3b5491afcefa2e083007ac0cdc5 100644
|
| --- a/content/common/gpu/gpu_channel_manager_unittest.cc
|
| +++ b/content/common/gpu/gpu_channel_manager_unittest.cc
|
| @@ -44,7 +44,7 @@
|
|
|
| virtual void Shutdown() {
|
| WaitableEvent ipc_done(false, false);
|
| - ipc_thread_.task_runner()->PostTask(
|
| + ipc_thread_.message_loop()->PostTask(
|
| FROM_HERE, base::Bind(&SimpleWorker::OnShutdown, this, &ipc_done));
|
|
|
| channel_.reset();
|
| @@ -56,8 +56,8 @@
|
| protected:
|
| SyncChannel* CreateChannel() {
|
| scoped_ptr<SyncChannel> channel = SyncChannel::Create(
|
| - channel_name_, mode_, this, ipc_thread_.task_runner().get(), true,
|
| - &shutdown_event_);
|
| + channel_name_, mode_, this, ipc_thread_.message_loop_proxy().get(),
|
| + true, &shutdown_event_);
|
| return channel.release();
|
| }
|
|
|
| @@ -111,8 +111,11 @@
|
| void Start() override {
|
| IPC::SimpleWorker::Start();
|
| gpu_channel_manager_.reset(
|
| - new GpuChannelManager(&router_, NULL, ipc_thread().task_runner().get(),
|
| - shutdown_event(), channel()));
|
| + new GpuChannelManager(&router_,
|
| + NULL,
|
| + ipc_thread().message_loop_proxy().get(),
|
| + shutdown_event(),
|
| + channel()));
|
| }
|
|
|
| void Shutdown() override {
|
|
|