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

Unified Diff: components/nacl/loader/nacl_listener.cc

Issue 621613002: Refactoring: Make IPC::Channel::TakeClientFileDescriptor() a ScopedFD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing Mac build Created 6 years, 2 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: components/nacl/loader/nacl_listener.cc
diff --git a/components/nacl/loader/nacl_listener.cc b/components/nacl/loader/nacl_listener.cc
index 80e04c6d73fcb3dcf4633bda763aa15fd01ea8f0..6eb3c14c9521db76f6ee8d225fd0f5b53a880d35 100644
--- a/components/nacl/loader/nacl_listener.cc
+++ b/components/nacl/loader/nacl_listener.cc
@@ -146,7 +146,7 @@ scoped_refptr<NaClIPCAdapter> SetUpIPCAdapter(
ipc_adapter->ConnectChannel();
#if defined(OS_POSIX)
handle->socket =
- base::FileDescriptor(ipc_adapter->TakeClientFileDescriptor(), true);
+ base::FileDescriptor(ipc_adapter->TakeClientFileDescriptor());
#endif
// Pass a NaClDesc to the untrusted side. This will hold a ref to the

Powered by Google App Engine
This is Rietveld 408576698