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

Unified Diff: content/plugin/plugin_channel.h

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_channel.h
diff --git a/content/plugin/plugin_channel.h b/content/plugin/plugin_channel.h
index ec79dd02ebabbac5a558f83abb1bf609dc8ac699..27e0e93cd19efd7fbb666d5bd276b61f0036f1b4 100644
--- a/content/plugin/plugin_channel.h
+++ b/content/plugin/plugin_channel.h
@@ -51,7 +51,7 @@ class PluginChannel : public NPChannelBase {
void set_incognito(bool value) { incognito_ = value; }
#if defined(OS_POSIX)
- int TakeRendererFileDescriptor() {
+ base::ScopedFD TakeRendererFileDescriptor() {
return channel_->TakeClientFileDescriptor();
}
#endif

Powered by Google App Engine
This is Rietveld 408576698