diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 19:50:12 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 19:50:12 +0000 |
commit | 11c4c816a056ad651aefc241446b77f4e57cebd8 (patch) | |
tree | 5be663f6af9710ae16d9f16b7fe127aa7258c222 /chrome/common/sandbox_init_wrapper_mac.cc | |
parent | 8a70f2301294c3c4b572b80952edbec5f688cd62 (diff) | |
download | chromium_src-11c4c816a056ad651aefc241446b77f4e57cebd8.zip chromium_src-11c4c816a056ad651aefc241446b77f4e57cebd8.tar.gz chromium_src-11c4c816a056ad651aefc241446b77f4e57cebd8.tar.bz2 |
Revert 63535 - Disable GPU features AcceleratingCompositing and WebGL by default.
(This change got checked into trunk only to get merged into M8.)
Flags have been switched to reversed logic, and about_flags.cc modified to expose these to users in GUI.
BUG=56053, 59092
TEST=Use about:flags to toggle features, confirm state with e.g. http://webglsamples.googlecode.com/hg/aquarium/aquarium.html http://webkit.org/blog-files/3d-transforms/poster-circle.html Vince's change for about:flags.
Review URL: http://codereview.chromium.org/3978002
TBR=vangelis@chromium.org
Review URL: http://codereview.chromium.org/3974004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/sandbox_init_wrapper_mac.cc')
-rw-r--r-- | chrome/common/sandbox_init_wrapper_mac.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/sandbox_init_wrapper_mac.cc b/chrome/common/sandbox_init_wrapper_mac.cc index d3017b7..ca21255 100644 --- a/chrome/common/sandbox_init_wrapper_mac.cc +++ b/chrome/common/sandbox_init_wrapper_mac.cc @@ -22,7 +22,7 @@ bool SandboxInitWrapper::InitializeSandbox(const CommandLine& command_line, // Browser process isn't sandboxed. return true; } else if (process_type == switches::kRendererProcess) { - if (command_line.HasSwitch(switches::kEnableExperimentalWebGL) && + if (!command_line.HasSwitch(switches::kDisableExperimentalWebGL) && command_line.HasSwitch(switches::kInProcessWebGL)) { // TODO(kbr): this check seems to be necessary only on this // platform because the sandbox is initialized later. Remove |