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_policy.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_policy.cc')
-rw-r--r-- | chrome/common/sandbox_policy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/sandbox_policy.cc b/chrome/common/sandbox_policy.cc index 8fb0bd5..f97da8a 100644 --- a/chrome/common/sandbox_policy.cc +++ b/chrome/common/sandbox_policy.cc @@ -494,7 +494,7 @@ base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line, in_sandbox = false; } #endif - if (browser_command_line.HasSwitch(switches::kEnableExperimentalWebGL) && + if (!browser_command_line.HasSwitch(switches::kDisableExperimentalWebGL) && browser_command_line.HasSwitch(switches::kInProcessWebGL)) { // In process WebGL won't work if the sandbox is enabled. in_sandbox = false; |