| Index: chrome/test/chrome_process_util.cc
|
| diff --git a/chrome/test/chrome_process_util.cc b/chrome/test/chrome_process_util.cc
|
| index 52cb1205f44c2e44f1f478438b1dcaa1289413a0..f17402665ab6a296e2b74366bb06cd73df56f255 100644
|
| --- a/chrome/test/chrome_process_util.cc
|
| +++ b/chrome/test/chrome_process_util.cc
|
| @@ -61,8 +61,8 @@ ChromeProcessList GetRunningChromeProcesses(base::ProcessId browser_pid) {
|
| result.push_back(process_entry->pid());
|
| }
|
|
|
| -#if defined(OS_LINUX)
|
| - // On Linux we might be running with a zygote process for the renderers.
|
| +#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| + // On Unix we might be running with a zygote process for the renderers.
|
| // Because of that we sweep the list of processes again and pick those which
|
| // are children of one of the processes that we've already seen.
|
| {
|
| @@ -72,9 +72,9 @@ ChromeProcessList GetRunningChromeProcesses(base::ProcessId browser_pid) {
|
| while (const base::ProcessEntry* process_entry = it.NextProcessEntry())
|
| result.push_back(process_entry->pid());
|
| }
|
| -#endif // defined(OS_LINUX)
|
| +#endif // defined(OS_POSIX) && !defined(OS_MACOSX)
|
|
|
| -#if defined(OS_LINUX) || defined(OS_MACOSX)
|
| +#if defined(OS_POSIX)
|
| // On Mac OS X we run the subprocesses with a different bundle, and
|
| // on Linux via /proc/self/exe, so they end up with a different
|
| // name. We must collect them in a second pass.
|
|
|