| Index: content/browser/gpu/gpu_process_host.cc
|
| diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
|
| index c6a30fa206b8b082bd17c7e68526d40d17358920..58fa17f847864e8d9b772f4d29149a8b77900f69 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -822,7 +822,7 @@ void GpuProcessHost::OnChannelEstablished(
|
|
|
| // Currently if any of the GPU features are blacklisted, we don't establish a
|
| // GPU channel.
|
| - if (!channel_handle.name.empty() &&
|
| + if (channel_handle.mojo_handle.is_valid() &&
|
| !GpuDataManagerImpl::GetInstance()->GpuAccessAllowed(NULL)) {
|
| Send(new GpuMsg_CloseChannel(request.client_id));
|
| request.callback.Run(IPC::ChannelHandle(), gpu::GPUInfo());
|
|
|