Chromium Code Reviews| Index: content/browser/gpu/gpu_process_host.cc |
| =================================================================== |
| --- content/browser/gpu/gpu_process_host.cc (revision 276253) |
| +++ content/browser/gpu/gpu_process_host.cc (working copy) |
| @@ -348,6 +348,8 @@ |
| base::Bind(base::IgnoreResult(&GpuProcessHostUIShim::Create), host_id)); |
| process_.reset(new BrowserChildProcessHostImpl(PROCESS_TYPE_GPU, this)); |
| + if (in_process_) |
| + process_->SetHandle(base::GetCurrentProcessHandle()); |
|
piman
2014/06/11 19:46:35
Seems iffy... It will have side effects in other p
Alexei Svitkine (slow)
2014/06/11 19:52:28
I'm okay with that solution too. We can expand the
piman
2014/06/12 17:20:30
Yes... I think the BrowserChildProcessHost's handl
|
| } |
| GpuProcessHost::~GpuProcessHost() { |