Index: base/process_util_win.cc |
diff --git a/base/process_util_win.cc b/base/process_util_win.cc |
index 955c08634a2e6113987cce9123cbe20ea88f2f31..2fe9a0085c92cb2c9813d219853537c2fd52648c 100644 |
--- a/base/process_util_win.cc |
+++ b/base/process_util_win.cc |
@@ -34,7 +34,10 @@ ProcessHandle GetCurrentProcessHandle() { |
} |
bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) { |
- ProcessHandle result = OpenProcess(PROCESS_DUP_HANDLE | PROCESS_TERMINATE, |
+ ProcessHandle result = OpenProcess(PROCESS_DUP_HANDLE | |
+ PROCESS_TERMINATE | |
+ PROCESS_QUERY_INFORMATION | |
+ SYNCHRONIZE, |
FALSE, pid); |
if (result == INVALID_HANDLE_VALUE) |