summaryrefslogtreecommitdiffstats
path: root/chrome/common/sandbox_policy.cc
diff options
context:
space:
mode:
authorvangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 17:46:09 +0000
committervangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 17:46:09 +0000
commitc0ad0313bafabf5bd7f303cf5f6bd93b653677e8 (patch)
treecef3bae882b6418a4c06bf7f06c5dd3607631049 /chrome/common/sandbox_policy.cc
parent60159295ccf289e95b1da3120351aa8f9cdf9444 (diff)
downloadchromium_src-c0ad0313bafabf5bd7f303cf5f6bd93b653677e8.zip
chromium_src-c0ad0313bafabf5bd7f303cf5f6bd93b653677e8.tar.gz
chromium_src-c0ad0313bafabf5bd7f303cf5f6bd93b653677e8.tar.bz2
Turning WebGL and the accelerated compositor on by default (linux and windows only for the compositor),
removing the --enable-webgl flag and adding --disable-webgl and --disable-accelerated-compositing. On the mac --enable-accelerated-compositing still needs to be supplied to enable the compositor. BUG=54469 Review URL: http://codereview.chromium.org/3342016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/sandbox_policy.cc')
-rw-r--r--chrome/common/sandbox_policy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/sandbox_policy.cc b/chrome/common/sandbox_policy.cc
index e772fc9..dd9996c 100644
--- a/chrome/common/sandbox_policy.cc
+++ b/chrome/common/sandbox_policy.cc
@@ -460,7 +460,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;