| 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 41d4431d4f8629a09c781a910d72c9e6bf9498ad..0b4bfa80e8ae9efa8f8fb6808ee035362fac0549 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -250,8 +250,8 @@ class GpuSandboxedProcessLauncherDelegate
|
| }
|
| #elif defined(OS_POSIX)
|
|
|
| - virtual int GetIpcFd() override {
|
| - return ipc_fd_;
|
| + virtual base::ScopedFD TakeIpcFd() override {
|
| + return ipc_fd_.Pass();
|
| }
|
| #endif // OS_WIN
|
|
|
| @@ -259,7 +259,7 @@ class GpuSandboxedProcessLauncherDelegate
|
| #if defined(OS_WIN)
|
| base::CommandLine* cmd_line_;
|
| #elif defined(OS_POSIX)
|
| - int ipc_fd_;
|
| + base::ScopedFD ipc_fd_;
|
| #endif // OS_WIN
|
| };
|
|
|
|
|