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

Unified Diff: content/plugin/plugin_thread.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: content/plugin/plugin_thread.cc
diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc
index f1b8d95b23395d908eb17f80f8ae0cbe038008b8..2663b0f2265ff2248dd15f0a6523539337fcb8e1 100644
--- a/content/plugin/plugin_thread.cc
+++ b/content/plugin/plugin_thread.cc
@@ -146,7 +146,7 @@ void PluginThread::OnCreateChannel(int renderer_id,
#if defined(OS_POSIX)
// On POSIX, pass the renderer-side FD.
channel_handle.socket =
- base::FileDescriptor(channel->TakeRendererFileDescriptor(), true);
+ base::FileDescriptor(channel->TakeRendererFileDescriptor());
#endif
channel->set_incognito(incognito);
}

Powered by Google App Engine
This is Rietveld 408576698