Index: base/win/scoped_handle.cc |
diff --git a/base/win/scoped_handle.cc b/base/win/scoped_handle.cc |
index 33a8aa5c743b7b27eab6349fa1f0ee953dca6909..034f6a71ee066c2f96dff8a0b9ecd3fe0d112587 100644 |
--- a/base/win/scoped_handle.cc |
+++ b/base/win/scoped_handle.cc |
@@ -40,9 +40,11 @@ typedef base::internal::LockImpl NativeLock; |
base::LazyInstance<NativeLock>::Leaky g_lock = LAZY_INSTANCE_INITIALIZER; |
bool CloseHandleWrapper(HANDLE handle) { |
- if (!::CloseHandle(handle)) |
- CHECK(false); |
- return true; |
+ if (::CloseHandle(handle)) |
+ return true; |
+ |
+ NOTREACHED(); |
+ return false; |
} |
// Simple automatic locking using a native critical section so it supports |