| Index: content/renderer/gpu/gpu_channel_host.cc
|
| diff --git a/content/renderer/gpu/gpu_channel_host.cc b/content/renderer/gpu/gpu_channel_host.cc
|
| index 00995ac67b568f6a3fddc25767a4d498727283b2..b6e2d80084c3f0bddb910a56ad48f8e75f03d18d 100644
|
| --- a/content/renderer/gpu/gpu_channel_host.cc
|
| +++ b/content/renderer/gpu/gpu_channel_host.cc
|
| @@ -206,6 +206,7 @@ CommandBufferProxy* GpuChannelHost::CreateViewCommandBuffer(
|
| const std::string& allowed_extensions,
|
| const std::vector<int32>& attribs,
|
| const GURL& active_url) {
|
| + DCHECK(ChildThread::current());
|
| #if defined(ENABLE_GPU)
|
| AutoLock lock(context_lock_);
|
| // An error occurred. Need to get the host again to reinitialize it.
|
| @@ -219,7 +220,7 @@ CommandBufferProxy* GpuChannelHost::CreateViewCommandBuffer(
|
| init_params.attribs = attribs;
|
| init_params.active_url = active_url;
|
| int32 route_id;
|
| - if (!RenderThread::current()->Send(
|
| + if (!ChildThread::current()->Send(
|
| new GpuHostMsg_CreateViewCommandBuffer(
|
| render_view_id,
|
| init_params,
|
|
|