diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 02:24:43 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 02:24:43 +0000 |
commit | 4d6995212927d8496fb61fe4efb58f5485499fa7 (patch) | |
tree | 1ada96809bc50cb6334f261c29a0698f1b38b471 /chrome/test/chrome_process_util.cc | |
parent | 40a62225b11646669b843ebcb62957abe2499fd6 (diff) | |
download | chromium_src-4d6995212927d8496fb61fe4efb58f5485499fa7.zip chromium_src-4d6995212927d8496fb61fe4efb58f5485499fa7.tar.gz chromium_src-4d6995212927d8496fb61fe4efb58f5485499fa7.tar.bz2 |
Revert "linux: use /proc/self/exe when exec'ing ourselves"
This reverts commit r32457.
This works for me in Debug and Release, and Lei in Debug, but not
for him or the bots in Release. Hate computers.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/chrome_process_util.cc')
-rw-r--r-- | chrome/test/chrome_process_util.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/test/chrome_process_util.cc b/chrome/test/chrome_process_util.cc index fea1d0e..f53cbbd 100644 --- a/chrome/test/chrome_process_util.cc +++ b/chrome/test/chrome_process_util.cc @@ -100,10 +100,9 @@ ChromeProcessList GetRunningChromeProcesses(const FilePath& data_dir) { } #endif // defined(OS_LINUX) -#if defined(OS_LINUX) || defined(OS_MACOSX) - // 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. +#if defined(OS_MACOSX) + // On Mac OS X we run the subprocesses with a different bundle, so they end + // up with a different name, so we have to collect them in a second pass. { ChildProcessFilter filter(browser_pid); base::NamedProcessIterator it(chrome::kHelperProcessExecutableName, |