Index: base/sync_socket_win.cc |
diff --git a/base/sync_socket_win.cc b/base/sync_socket_win.cc |
index e5088162433f2f402a8809c1342142c028e07341..fb722919f6c45239810eb45c01bdfe21d0d06cdf 100644 |
--- a/base/sync_socket_win.cc |
+++ b/base/sync_socket_win.cc |
@@ -235,7 +235,8 @@ bool SyncSocket::Close() { |
if (handle_ == kInvalidHandle) |
return true; |
- const BOOL result = CloseHandle(handle_); |
+ const BOOL result = ::CloseHandle(handle_); |
+ CHECK(result); |
Lei Zhang
2015/09/22 08:03:30
Also PCHECK()
|
handle_ = kInvalidHandle; |
return result == TRUE; |
} |