summaryrefslogtreecommitdiffstats
path: root/remoting/host/desktop_process_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/desktop_process_unittest.cc')
-rw-r--r--remoting/host/desktop_process_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/desktop_process_unittest.cc b/remoting/host/desktop_process_unittest.cc
index d83d803..3f5f109 100644
--- a/remoting/host/desktop_process_unittest.cc
+++ b/remoting/host/desktop_process_unittest.cc
@@ -186,7 +186,7 @@ void DesktopProcessTest::OnDesktopAttached(
#if defined(OS_POSIX)
DCHECK(desktop_process.auto_close);
- base::ClosePlatformFile(desktop_process.fd);
+ base::File closer(IPC::PlatformFileForTransitToFile(desktop_process));
#endif // defined(OS_POSIX)
}