Index: base/message_loop_unittest.cc |
=================================================================== |
--- base/message_loop_unittest.cc (revision 50001) |
+++ base/message_loop_unittest.cc (working copy) |
@@ -1578,10 +1578,8 @@ |
// and don't run the message loop, just destroy it. |
} |
} |
- if (HANDLE_EINTR(close(pipefds[0])) < 0) |
- PLOG(WARNING) << "close"; |
- if (HANDLE_EINTR(close(pipefds[1])) < 0) |
- PLOG(WARNING) << "close"; |
+ HANDLE_EINTR(close(pipefds[0])); |
+ HANDLE_EINTR(close(pipefds[1])); |
} |
TEST(MessageLoopTest, FileDescriptorWatcherDoubleStop) { |
@@ -1603,10 +1601,8 @@ |
controller.StopWatchingFileDescriptor(); |
} |
} |
- if (HANDLE_EINTR(close(pipefds[0])) < 0) |
- PLOG(WARNING) << "close"; |
- if (HANDLE_EINTR(close(pipefds[1])) < 0) |
- PLOG(WARNING) << "close"; |
+ HANDLE_EINTR(close(pipefds[0])); |
+ HANDLE_EINTR(close(pipefds[1])); |
} |
} // namespace |