| Index: base/process/process_handle_win.cc
|
| diff --git a/base/process/process_handle_win.cc b/base/process/process_handle_win.cc
|
| index 468331163a1423d86e13ad05a7f20bbd9f8b9afb..30b20665425ba2f9ed5f39a40bd057a152033c7b 100644
|
| --- a/base/process/process_handle_win.cc
|
| +++ b/base/process/process_handle_win.cc
|
| @@ -20,22 +20,6 @@ ProcessHandle GetCurrentProcessHandle() {
|
| return ::GetCurrentProcess();
|
| }
|
|
|
| -bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) {
|
| - // We try to limit privileges granted to the handle. If you need this
|
| - // for test code, consider using OpenPrivilegedProcessHandle instead of
|
| - // adding more privileges here.
|
| - ProcessHandle result = OpenProcess(PROCESS_TERMINATE |
|
| - PROCESS_QUERY_INFORMATION |
|
| - SYNCHRONIZE,
|
| - FALSE, pid);
|
| -
|
| - if (result == NULL)
|
| - return false;
|
| -
|
| - *handle = result;
|
| - return true;
|
| -}
|
| -
|
| void CloseProcessHandle(ProcessHandle process) {
|
| CloseHandle(process);
|
| }
|
|
|