diff options
Diffstat (limited to 'chrome_frame/test_utils.cc')
-rw-r--r-- | chrome_frame/test_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/test_utils.cc b/chrome_frame/test_utils.cc index 6e9f6bf..18f5f44 100644 --- a/chrome_frame/test_utils.cc +++ b/chrome_frame/test_utils.cc @@ -298,7 +298,7 @@ bool KillAllNamedProcessesWithArgument(const std::wstring& process_name, ArgumentFilter filter(argument); base::NamedProcessIterator iter(process_name, &filter); while (const base::ProcessEntry* entry = iter.NextProcessEntry()) { - if (!base::KillProcessById((*entry).th32ProcessID, 0, true)) { + if (!base::KillProcessById(entry->pid(), 0, true)) { DLOG(ERROR) << "Failed to kill process " << (*entry).th32ProcessID; result = false; } |