Index: ppapi/proxy/ppb_audio_proxy.cc |
diff --git a/ppapi/proxy/ppb_audio_proxy.cc b/ppapi/proxy/ppb_audio_proxy.cc |
index 6adc436bf28476e30db3453d754bffea337c7c94..3e7350bf4297c305c21710f0030dd0a5954e2bac 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. |