Index: base/process/process_win.cc |
diff --git a/base/process/process_win.cc b/base/process/process_win.cc |
index 6629f4565a74fb5e019ad05e845feba09f65625e..afc6a786ba439dd96b7fd1a621902b7e26a10e28 100644 |
--- a/base/process/process_win.cc |
+++ b/base/process/process_win.cc |
@@ -137,12 +137,12 @@ bool Process::Terminate(int exit_code, bool wait) const { |
return result; |
} |
-bool Process::WaitForExit(int* exit_code) { |
+bool Process::WaitForExit(int* exit_code) const { |
return WaitForExitWithTimeout(TimeDelta::FromMilliseconds(INFINITE), |
exit_code); |
} |
-bool Process::WaitForExitWithTimeout(TimeDelta timeout, int* exit_code) { |
+bool Process::WaitForExitWithTimeout(TimeDelta timeout, int* exit_code) const { |
// Record the event that this thread is blocking upon (for hang diagnosis). |
base::debug::ScopedProcessWaitActivity process_activity(this); |