diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-17 06:49:19 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-17 06:49:19 +0000 |
commit | c526cc5f74143f8ad8aa33981e89f2857ebf991a (patch) | |
tree | 9a57851d1697e39b3aaee9c3ae0fbabba947ae7b /chrome/browser/task_manager/task_manager_browsertest.cc | |
parent | d2489c7461bbefb75ce1c0f09b73f2240944567e (diff) | |
download | chromium_src-c526cc5f74143f8ad8aa33981e89f2857ebf991a.zip chromium_src-c526cc5f74143f8ad8aa33981e89f2857ebf991a.tar.gz chromium_src-c526cc5f74143f8ad8aa33981e89f2857ebf991a.tar.bz2 |
Make task managers disable the GPU process
Change task manager tests to disable the GPU instead of turning
off accelerated compositing (as this doesn't have meaning in the
software composited world).
BUG=286038
TBR=yoshiki@chromium.org
Review URL: https://codereview.chromium.org/93703008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241163 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager/task_manager_browsertest.cc')
-rw-r--r-- | chrome/browser/task_manager/task_manager_browsertest.cc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chrome/browser/task_manager/task_manager_browsertest.cc b/chrome/browser/task_manager/task_manager_browsertest.cc index e7cd1d3..e15d82b 100644 --- a/chrome/browser/task_manager/task_manager_browsertest.cc +++ b/chrome/browser/task_manager/task_manager_browsertest.cc @@ -47,7 +47,8 @@ // http://crbug.com/31663 // TODO(linux_aura) http://crbug.com/163931 -#if !(defined(OS_WIN) && defined(USE_AURA)) && !(defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_AURA)) +#if !(defined(OS_WIN) && defined(USE_AURA)) && \ + !(defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_AURA)) using content::WebContents; @@ -97,12 +98,10 @@ class TaskManagerNoShowBrowserTest : public ExtensionBrowserTest { virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { ExtensionBrowserTest::SetUpCommandLine(command_line); - // 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); + // Do not launch the GPU process 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::kDisableGpu); // Do not launch device discovery process. command_line->AppendSwitch(switches::kDisableDeviceDiscoveryNotifications); |