Index: base/process/process_handle_win.cc |
diff --git a/base/process/process_handle_win.cc b/base/process/process_handle_win.cc |
index 3bc3a125e0d46132586c7a4b3865706f970e680b..3be8c09cfafe5bb275b759546f9db5f24994cef9 100644 |
--- a/base/process/process_handle_win.cc |
+++ b/base/process/process_handle_win.cc |
@@ -29,8 +29,10 @@ bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) { |
SYNCHRONIZE, |
FALSE, pid); |
- if (result == NULL) |
+ if (result == NULL) { |
+ DPLOG(ERROR); |
return false; |
+ } |
*handle = result; |
return true; |
@@ -44,8 +46,10 @@ bool OpenPrivilegedProcessHandle(ProcessId pid, ProcessHandle* handle) { |
SYNCHRONIZE, |
FALSE, pid); |
- if (result == NULL) |
+ if (result == NULL) { |
+ DPLOG(ERROR); |
return false; |
+ } |
*handle = result; |
return true; |