summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/proxy/ppb_audio_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/proxy/ppb_audio_proxy.cc b/ppapi/proxy/ppb_audio_proxy.cc
index 6adc436..3e7350b 100644
--- a/ppapi/proxy/ppb_audio_proxy.cc
+++ b/ppapi/proxy/ppb_audio_proxy.cc
@@ -282,8 +282,8 @@ int32_t PPB_Audio_Proxy::GetAudioConnectedHandles(
FALSE, DUPLICATE_CLOSE_SOURCE);
#else
// On Posix, the socket handle will be auto-duplicated when we send the
- // FileDescriptor. Set AutoClose since we don't need the handle any more.
- *foreign_socket_handle = base::FileDescriptor(socket_handle, true);
+ // FileDescriptor. Don't set AutoClose since this is not our handle.
+ *foreign_socket_handle = base::FileDescriptor(socket_handle, false);
#endif
// Get the shared memory for the buffer.