Index: ipc/file_descriptor_set_posix.cc |
diff --git a/ipc/file_descriptor_set_posix.cc b/ipc/file_descriptor_set_posix.cc |
index fc15c2dc5b8d5f3947c0e7cf640c2909c0aeffc5..1aa86a7f0084ea41ae55435affe7cd014ce3dc6f 100644 |
--- a/ipc/file_descriptor_set_posix.cc |
+++ b/ipc/file_descriptor_set_posix.cc |
@@ -31,7 +31,7 @@ FileDescriptorSet::~FileDescriptorSet() { |
for (unsigned i = consumed_descriptor_highwater_; |
i < descriptors_.size(); ++i) { |
if (descriptors_[i].auto_close) |
- if (HANDLE_EINTR(close(descriptors_[i].fd)) < 0) |
+ if (IGNORE_EINTR(close(descriptors_[i].fd)) < 0) |
PLOG(ERROR) << "close"; |
} |
} |
@@ -119,7 +119,7 @@ void FileDescriptorSet::CommitAll() { |
for (std::vector<base::FileDescriptor>::iterator |
i = descriptors_.begin(); i != descriptors_.end(); ++i) { |
if (i->auto_close) |
- if (HANDLE_EINTR(close(i->fd)) < 0) |
+ if (IGNORE_EINTR(close(i->fd)) < 0) |
PLOG(ERROR) << "close"; |
} |
descriptors_.clear(); |