summaryrefslogtreecommitdiffstats
path: root/chrome/worker
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 21:52:38 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 21:52:38 +0000
commitcfe8fd1fe634cb63142aed136284a78f2f257965 (patch)
treea00d60640f21f4e4c377f48b57e6cc755520963e /chrome/worker
parent9c551f47036fa0d170a3c259882f0d7fecd9f331 (diff)
downloadchromium_src-cfe8fd1fe634cb63142aed136284a78f2f257965.zip
chromium_src-cfe8fd1fe634cb63142aed136284a78f2f257965.tar.gz
chromium_src-cfe8fd1fe634cb63142aed136284a78f2f257965.tar.bz2
ui_tests fix
BUG=none TEST=ui_tests should cycle green Review URL: http://codereview.chromium.org/669093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40665 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker')
-rw-r--r--chrome/worker/worker_uitest.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/worker/worker_uitest.cc b/chrome/worker/worker_uitest.cc
index 1eedc25..7e4eb2e 100644
--- a/chrome/worker/worker_uitest.cc
+++ b/chrome/worker/worker_uitest.cc
@@ -59,7 +59,11 @@ class WorkerTest : public UILayoutTest {
// The 1 is for the browser process.
int number_of_processes = 1 + workers +
(UITest::in_process_renderer() ? 0 : tabs);
-#if defined(OS_LINUX)
+#if defined(OS_CHROMEOS)
+ // On Chromeos, we also have a zygote process, a sandbox host process
+ // and app launcher's renderer.
+ number_of_processes += 3;
+#elif defined(OS_LINUX)
// On Linux, we also have a zygote process and a sandbox host process.
number_of_processes += 2;
#endif