Index: base/process_util_win.cc |
=================================================================== |
--- base/process_util_win.cc (revision 126069) |
+++ base/process_util_win.cc (working copy) |
@@ -191,7 +191,7 @@ |
ProcessHandle result = OpenProcess(PROCESS_DUP_HANDLE | PROCESS_TERMINATE, |
FALSE, pid); |
- if (result == INVALID_HANDLE_VALUE) |
+ if (result == NULL) |
return false; |
*handle = result; |
@@ -206,7 +206,7 @@ |
SYNCHRONIZE, |
FALSE, pid); |
- if (result == INVALID_HANDLE_VALUE) |
+ if (result == NULL) |
return false; |
*handle = result; |
@@ -218,7 +218,7 @@ |
ProcessHandle* handle) { |
ProcessHandle result = OpenProcess(access_flags, FALSE, pid); |
- if (result == INVALID_HANDLE_VALUE) |
+ if (result == NULL) |
return false; |
*handle = result; |