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

Unified Diff: content/common/gpu/gpu_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/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index cfa71d1e2db83781b4b5a7a279f4a847ed59b60a..32f9b099b1b5c03c95ba0964eba8d344f51ed2a5 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -72,7 +72,7 @@ class GpuChannel : public IPC::Listener, public IPC::Sender {
std::string GetChannelName();
#if defined(OS_POSIX)
- int TakeRendererFileDescriptor();
+ base::ScopedFD TakeRendererFileDescriptor();
#endif // defined(OS_POSIX)
base::ProcessId renderer_pid() const { return channel_->GetPeerPID(); }

Powered by Google App Engine
This is Rietveld 408576698