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

Unified Diff: ppapi/proxy/proxy_channel.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
« ppapi/proxy/proxy_channel.h ('K') | « ppapi/proxy/proxy_channel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/proxy_channel.cc
diff --git a/ppapi/proxy/proxy_channel.cc b/ppapi/proxy/proxy_channel.cc
index 7a7dfaa469e086a6c4fba7bc8010ee2123eeb26f..45c2a77955aabf3a05afd22e917491c99f245c80 100644
--- a/ppapi/proxy/proxy_channel.cc
+++ b/ppapi/proxy/proxy_channel.cc
@@ -53,7 +53,7 @@ void ProxyChannel::OnChannelError() {
}
#if defined(OS_POSIX) && !defined(OS_NACL)
-int ProxyChannel::TakeRendererFD() {
+base::ScopedFD ProxyChannel::TakeRendererFD() {
DCHECK(channel());
return channel()->TakeClientFileDescriptor();
}
« ppapi/proxy/proxy_channel.h ('K') | « ppapi/proxy/proxy_channel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698