Index: chrome/test/chrome_process_util.cc |
diff --git a/chrome/test/chrome_process_util.cc b/chrome/test/chrome_process_util.cc |
index 9d858e43bd125389febe18f987f5015373a9f55e..8ad623901985ebc2d5bac02436d8ca5fbe2a03d5 100644 |
--- a/chrome/test/chrome_process_util.cc |
+++ b/chrome/test/chrome_process_util.cc |
@@ -42,8 +42,7 @@ void TerminateAllChromeProcesses(const FilePath& data_dir) { |
for (it = handles.begin(); |
it != handles.end() && Time::Now() - start < kExitTimeout; |
++it) { |
- // TODO(phajdan.jr): Fix int/int64 problems with TimeDelta::InMilliseconds. |
- int wait_time_ms = static_cast<int>((Time::Now() - start).InMilliseconds()); |
+ int64 wait_time_ms = (Time::Now() - start).InMilliseconds(); |
base::WaitForSingleProcess(*it, wait_time_ms); |
} |