| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index a5e9dde5974c8f13d19ec19c1e750d62fc05f912..469eb02287c4586f4261f874ddeb1f4446185806 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -307,7 +307,7 @@ class RendererSandboxedProcessLauncherDelegate
|
| public:
|
| explicit RendererSandboxedProcessLauncherDelegate(IPC::ChannelProxy* channel)
|
| #if defined(OS_POSIX)
|
| - : ipc_fd_(channel->TakeClientFileDescriptor())
|
| + : ipc_fd_(channel->TakeClientFileDescriptor())
|
| #endif // OS_POSIX
|
| {}
|
|
|
| @@ -328,14 +328,14 @@ class RendererSandboxedProcessLauncherDelegate
|
| browser_command_line.GetSwitchValueNative(switches::kRendererCmdPrefix);
|
| return renderer_prefix.empty();
|
| }
|
| - virtual int GetIpcFd() override {
|
| - return ipc_fd_;
|
| + virtual base::ScopedFD TakeIpcFd() override {
|
| + return ipc_fd_.Pass();
|
| }
|
| #endif // OS_WIN
|
|
|
| private:
|
| #if defined(OS_POSIX)
|
| - int ipc_fd_;
|
| + base::ScopedFD ipc_fd_;
|
| #endif // OS_POSIX
|
| };
|
|
|
|
|