Index: content/browser/utility_process_host_impl.cc |
diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc |
index 36f90972503e1e01aa1daf7509d2fb12ae6a62d8..848d20897dbb44aa7b18b4165a9f395f143bfbd5 100644 |
--- a/content/browser/utility_process_host_impl.cc |
+++ b/content/browser/utility_process_host_impl.cc |
@@ -65,8 +65,8 @@ class UtilitySandboxedProcessLauncherDelegate |
virtual base::EnvironmentMap GetEnvironment() override { |
return env_; |
} |
- virtual int GetIpcFd() override { |
- return ipc_fd_; |
+ virtual base::ScopedFD TakeIpcFd() override { |
+ return ipc_fd_.Pass(); |
} |
#endif // OS_WIN |
@@ -79,7 +79,7 @@ class UtilitySandboxedProcessLauncherDelegate |
#elif defined(OS_POSIX) |
base::EnvironmentMap env_; |
bool no_sandbox_; |
- int ipc_fd_; |
+ base::ScopedFD ipc_fd_; |
#endif // OS_WIN |
}; |