Index: chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc |
diff --git a/chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc b/chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc |
index be08b4c6d627e56c2335e606ee4077e416c31c4f..5a2688d6bb21f93043845a3d7486efbffe94d624 100644 |
--- a/chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc |
+++ b/chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc |
@@ -99,7 +99,8 @@ void DevToolsRemoteListenSocketTester::TearDown() { |
#if defined(OS_WIN) |
closesocket(test_socket_); |
#elif defined(OS_POSIX) |
- HANDLE_EINTR(close(test_socket_)); |
+ int ret = HANDLE_EINTR(close(test_socket_)); |
+ ASSERT_EQ(ret, 0); |
#endif |
ASSERT_TRUE(NextAction(kDefaultTimeoutMs)); |
ASSERT_EQ(ACTION_CLOSE, last_action_.type()); |