Chromium Code Reviews| Index: base/memory/shared_memory_win.cc |
| diff --git a/base/memory/shared_memory_win.cc b/base/memory/shared_memory_win.cc |
| index 5f706fe648598642584903f39a5aa40786acc88d..285d9ac3239b35bb663bbe6588e543f86026f152 100644 |
| --- a/base/memory/shared_memory_win.cc |
| +++ b/base/memory/shared_memory_win.cc |
| @@ -85,7 +85,8 @@ SharedMemoryHandle SharedMemory::NULLHandle() { |
| // static |
| void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { |
| DCHECK(handle != NULL); |
| - ::CloseHandle(handle); |
| + const BOOL result = ::CloseHandle(handle); |
| + CHECK(result); |
|
Lei Zhang
2015/09/22 08:03:30
I know this will probably reland as soon as I fix
|
| } |
| // static |