-
Matt Mueller authored
On mac, base::GetParentProcessId(0) == 0, which can result in an infinite loop if the test happens to call IsSameChromeInstance on a real pid, which will follow the ancestor chain up to pid 0. This isn't a problem outside of tests, since IsChromeProcess would return false, except for in tests that set g_skip_is_chrome_process_check=true. Bug: 751077 Change-Id: I49399f2b4bdcb4ceb184b6c179995bcda3c86dd2 Reviewed-on: https://chromium-review.googlesource.com/601251 Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#492038}
65ef3a7c