Index: chrome/browser/task_manager/task_manager_browsertest.cc |
diff --git a/chrome/browser/task_manager/task_manager_browsertest.cc b/chrome/browser/task_manager/task_manager_browsertest.cc |
index 01f5634f68caef7b4b8470b55042d0fa86176102..17b57ddc3f01d014f1f455d397fab7c8d5e45df4 100644 |
--- a/chrome/browser/task_manager/task_manager_browsertest.cc |
+++ b/chrome/browser/task_manager/task_manager_browsertest.cc |
@@ -67,10 +67,12 @@ class TaskManagerBrowserTest : public ExtensionBrowserTest { |
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { |
ExtensionBrowserTest::SetUpCommandLine(command_line); |
- // Do not prelaunch the GPU process for these tests because it will show |
- // up in task manager but whether it appears before or after the new tab |
- // renderer process is not well defined. |
+ // Do not prelaunch the GPU process and disable accelerated compositing |
+ // for these tests as the GPU process will show up in task manager but |
+ // whether it appears before or after the new tab renderer process is not |
+ // well defined. |
command_line->AppendSwitch(switches::kDisableGpuProcessPrelaunch); |
+ command_line->AppendSwitch(switches::kDisableAcceleratedCompositing); |
} |
}; |