From 11c4c816a056ad651aefc241446b77f4e57cebd8 Mon Sep 17 00:00:00 2001 From: "enne@chromium.org" Date: Fri, 22 Oct 2010 19:50:12 +0000 Subject: 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 --- chrome/common/sandbox_policy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/common/sandbox_policy.cc') 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; -- cgit v1.1