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

Unified Diff: components/nacl/loader/nacl_trusted_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_trusted_listener.cc
diff --git a/components/nacl/loader/nacl_trusted_listener.cc b/components/nacl/loader/nacl_trusted_listener.cc
index d9e5633c225d5b3402cb7115a37bcce5e87f422b..4c67a09f490644cb55857f4ac307e779919ddea7 100644
--- a/components/nacl/loader/nacl_trusted_listener.cc
+++ b/components/nacl/loader/nacl_trusted_listener.cc
@@ -26,7 +26,7 @@ IPC::ChannelHandle NaClTrustedListener::TakeClientChannelHandle() {
IPC::ChannelHandle handle = channel_handle_;
#if defined(OS_POSIX)
handle.socket =
- base::FileDescriptor(channel_->TakeClientFileDescriptor(), true);
+ base::FileDescriptor(channel_->TakeClientFileDescriptor());
#endif
return handle;
}

Powered by Google App Engine
This is Rietveld 408576698