summaryrefslogtreecommitdiffstats
path: root/content/browser/ppapi_plugin_process_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/ppapi_plugin_process_host.cc')
-rw-r--r--content/browser/ppapi_plugin_process_host.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index 8346abf..34c3a7d 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -76,15 +76,15 @@ class PpapiPluginSandboxedProcessLauncherDelegate
.GetSwitchValueNative(switches::kPpapiPluginLauncher);
return !is_broker_ && plugin_launcher.empty() && info_.is_sandboxed;
}
- virtual int GetIpcFd() override {
- return ipc_fd_;
+ virtual base::ScopedFD TakeIpcFd() override {
+ return ipc_fd_.Pass();
}
#endif // OS_WIN
private:
#if defined(OS_POSIX)
const PepperPluginInfo& info_;
- int ipc_fd_;
+ base::ScopedFD ipc_fd_;
#endif // OS_POSIX
bool is_broker_;