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

Unified Diff: content/common/child_process_host_impl.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/child_process_host_impl.h
diff --git a/content/common/child_process_host_impl.h b/content/common/child_process_host_impl.h
index dad543b9aefbf28f8ccaeacb77a872e332da1d3a..43e3e2412ca6f11fb3f786c9e4366d02d0213102 100644
--- a/content/common/child_process_host_impl.h
+++ b/content/common/child_process_host_impl.h
@@ -61,7 +61,7 @@ class CONTENT_EXPORT ChildProcessHostImpl : public ChildProcessHost,
virtual bool IsChannelOpening() override;
virtual void AddFilter(IPC::MessageFilter* filter) override;
#if defined(OS_POSIX)
- virtual int TakeClientFileDescriptor() override;
+ virtual base::ScopedFD TakeClientFileDescriptor() override;
#endif
private:

Powered by Google App Engine
This is Rietveld 408576698