Index: components/nacl/browser/nacl_process_host.cc |
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc |
index 3b6ddcf7050d0caa0f59588b5e4854146e7b4984..00c1201e2ffc0083e8597aa01258d61f261d7e5d 100644 |
--- a/components/nacl/browser/nacl_process_host.cc |
+++ b/components/nacl/browser/nacl_process_host.cc |
@@ -179,14 +179,14 @@ class NaClSandboxedProcessLauncherDelegate |
virtual bool ShouldUseZygote() override { |
return true; |
} |
- 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 |
}; |