| 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 58fa17f847864e8d9b772f4d29149a8b77900f69..147c0845d02c96b224970bbb563c0552f4e1323c 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -193,10 +193,9 @@ class GpuSandboxedProcessLauncherDelegate
|
| GpuSandboxedProcessLauncherDelegate(base::CommandLine* cmd_line,
|
| ChildProcessHost* host)
|
| #if defined(OS_WIN)
|
| - : cmd_line_(cmd_line) {}
|
| -#elif defined(OS_POSIX)
|
| - : ipc_fd_(host->TakeClientFileDescriptor()) {}
|
| + : cmd_line_(cmd_line)
|
| #endif
|
| + {}
|
|
|
| ~GpuSandboxedProcessLauncherDelegate() override {}
|
|
|
| @@ -277,9 +276,6 @@ class GpuSandboxedProcessLauncherDelegate
|
|
|
| return true;
|
| }
|
| -#elif defined(OS_POSIX)
|
| -
|
| - base::ScopedFD TakeIpcFd() override { return std::move(ipc_fd_); }
|
| #endif // OS_WIN
|
|
|
| SandboxType GetSandboxType() override {
|
| @@ -289,8 +285,6 @@ class GpuSandboxedProcessLauncherDelegate
|
| private:
|
| #if defined(OS_WIN)
|
| base::CommandLine* cmd_line_;
|
| -#elif defined(OS_POSIX)
|
| - base::ScopedFD ipc_fd_;
|
| #endif // OS_WIN
|
| };
|
|
|
|
|