Index: content/browser/plugin_process_host.cc |
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc |
index 9f4a06bc4e73968db96d2310496a39604577ea21..c2567595aa2d4f119551589e6c134a58f3c1316e 100644 |
--- a/content/browser/plugin_process_host.cc |
+++ b/content/browser/plugin_process_host.cc |
@@ -112,14 +112,14 @@ class PluginSandboxedProcessLauncherDelegate |
} |
#elif defined(OS_POSIX) |
- 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 |
DISALLOW_COPY_AND_ASSIGN(PluginSandboxedProcessLauncherDelegate); |