| 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 8b3cd3a7c6a5aee76b2e238b2700a29ec8949cb4..0dac696a074c28968ae7a876f9723fed56056175 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -30,6 +30,7 @@
|
| #include "content/public/browser/content_browser_client.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_widget_host_view.h"
|
| +#include "content/public/common/child_process_host_delegate.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/result_codes.h"
|
| @@ -358,7 +359,9 @@ void GpuProcessHost::GetProcessHandles(
|
| for (size_t i = 0; i < arraysize(g_gpu_process_hosts); ++i) {
|
| GpuProcessHost* host = g_gpu_process_hosts[i];
|
| if (host && ValidateHost(host))
|
| - handles.push_back(host->process_->GetHandle());
|
| + handles.push_back(
|
| + static_cast<ChildProcessHostDelegate*>(host->process_.get())->
|
| + GetHandle());
|
| }
|
| BrowserThread::PostTask(
|
| BrowserThread::UI,
|
| @@ -1173,6 +1176,7 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) {
|
| process_->Launch(
|
| #if defined(OS_WIN)
|
| new GpuSandboxedProcessLauncherDelegate(cmd_line),
|
| + false,
|
| #elif defined(OS_POSIX)
|
| false,
|
| base::EnvironmentMap(),
|
|
|