diff options
author | vangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-09 00:54:19 +0000 |
---|---|---|
committer | vangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-09 00:54:19 +0000 |
commit | f70dab7a0003bd499fc3e883814ce2d0689ab672 (patch) | |
tree | 45003e37f538e3ff56603d221c4bf11a8a3b2403 /chrome/app | |
parent | 50d5e839049830d699da85675a3a065173726d48 (diff) | |
download | chromium_src-f70dab7a0003bd499fc3e883814ce2d0689ab672.zip chromium_src-f70dab7a0003bd499fc3e883814ce2d0689ab672.tar.gz chromium_src-f70dab7a0003bd499fc3e883814ce2d0689ab672.tar.bz2 |
Turns on by default accelerated compositing on the mac. Removes --enable-accelerated-compositing
flag altogether as it's no longer useful.
BUG=54469
Review URL: http://codereview.chromium.org/3303020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58903 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index d17b347..02f554d 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -566,21 +566,6 @@ int ChromeMain(int argc, char** argv) { singleton_command_line->AppendSwitch(switches::kEnableGPUPlugin); } - // TODO(vangelis): Remove this block once accelerated compositing is enabled - // on all platforms. -#if defined(OS_MACOSX) - // Accelerated compositing is currently disabled by default on the mac, as it - // is less stable than other platforms. We disable it by adding a disable - // to the command line switches. Note that the rest of the code only checks - // for the disable flag, never for enable. - if (!parsed_command_line.HasSwitch( - switches::kEnableAcceleratedCompositing)) { - CommandLine* singleton_command_line = CommandLine::ForCurrentProcess(); - singleton_command_line->AppendSwitch( - switches::kDisableAcceleratedCompositing); - } -#endif - #if defined(OS_CHROMEOS) if (parsed_command_line.HasSwitch(switches::kBWSI)) { // Disable sync and extensions if we're in "browse without sign-in" mode. |