Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: remoting/host/desktop_process_unittest.cc

Issue 307463004: Remove PlatformFile from remoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/desktop_process_unittest.cc
diff --git a/remoting/host/desktop_process_unittest.cc b/remoting/host/desktop_process_unittest.cc
index d83d80326577804f4cde0be6517c06cec854ca95..3f5f10929a5aabd6f431fb4881435e0ae1407673 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)
}
« no previous file with comments | « no previous file | remoting/host/desktop_session_agent.h » ('j') | remoting/host/win/unprivileged_process_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698