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

Unified Diff: ipc/file_descriptor_set_posix.cc

Issue 2822013: Revert 49989 - x (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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
« no previous file with comments | « chrome/browser/cocoa/objc_zombie.mm ('k') | ipc/ipc_channel_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/file_descriptor_set_posix.cc
===================================================================
--- ipc/file_descriptor_set_posix.cc (revision 49994)
+++ ipc/file_descriptor_set_posix.cc (working copy)
@@ -30,8 +30,7 @@
for (unsigned i = consumed_descriptor_highwater_;
i < descriptors_.size(); ++i) {
if (descriptors_[i].auto_close)
- if (HANDLE_EINTR(close(descriptors_[i].fd)) < 0)
- PLOG(ERROR) << "close";
+ HANDLE_EINTR(close(descriptors_[i].fd));
}
}
@@ -114,8 +113,7 @@
for (std::vector<base::FileDescriptor>::iterator
i = descriptors_.begin(); i != descriptors_.end(); ++i) {
if (i->auto_close)
- if (HANDLE_EINTR(close(i->fd)) < 0)
- PLOG(ERROR) << "close";
+ HANDLE_EINTR(close(i->fd));
}
descriptors_.clear();
consumed_descriptor_highwater_ = 0;
« no previous file with comments | « chrome/browser/cocoa/objc_zombie.mm ('k') | ipc/ipc_channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698