Index: base/files/file_path_watcher_kqueue.cc |
diff --git a/base/files/file_path_watcher_kqueue.cc b/base/files/file_path_watcher_kqueue.cc |
index 2ffb83622c21686e8d586ce9dcb2e4c14d800c7e..e035f22caa5a1ebfd66551071117066a61f40e42 100644 |
--- a/base/files/file_path_watcher_kqueue.cc |
+++ b/base/files/file_path_watcher_kqueue.cc |
@@ -210,7 +210,7 @@ void FilePathWatcherImpl::CloseFileDescriptor(uintptr_t* fd) { |
return; |
} |
- if (HANDLE_EINTR(close(*fd)) != 0) { |
+ if (IGNORE_EINTR(close(*fd)) != 0) { |
DPLOG(ERROR) << "close"; |
} |
*fd = kNoFileDescriptor; |
@@ -497,7 +497,7 @@ void FilePathWatcherImpl::CancelOnMessageLoopThread() { |
if (!is_cancelled()) { |
set_cancelled(); |
kqueue_watcher_.StopWatchingFileDescriptor(); |
- if (HANDLE_EINTR(close(kqueue_)) != 0) { |
+ if (IGNORE_EINTR(close(kqueue_)) != 0) { |
DPLOG(ERROR) << "close kqueue"; |
} |
kqueue_ = -1; |