| Index: remoting/host/ipc_desktop_environment.cc
|
| diff --git a/remoting/host/ipc_desktop_environment.cc b/remoting/host/ipc_desktop_environment.cc
|
| index 51254941fae061f36f2ab3ed2ccc600d5091c782..33327124c8002f53341c879c320a6ada5c3061a8 100644
|
| --- a/remoting/host/ipc_desktop_environment.cc
|
| +++ b/remoting/host/ipc_desktop_environment.cc
|
| @@ -193,8 +193,7 @@ void IpcDesktopEnvironmentFactory::OnDesktopSessionAgentAttached(
|
|
|
| #if defined(OS_POSIX)
|
| DCHECK(desktop_pipe.auto_close);
|
| -
|
| - base::ClosePlatformFile(desktop_pipe.fd);
|
| + base::File pipe_closer(IPC::PlatformFileForTransitToFile(desktop_pipe));
|
| #endif // defined(OS_POSIX)
|
| }
|
| }
|
|
|