Commit 52ea3eb2 authored by apatrick@chromium.org's avatar apatrick@chromium.org

Revert 131655 - Windows: Reduce GPU process sandbox to XP level on Windows Server 2003.

It seems to have the same issues as XP.

BUG=121809

Review URL: http://codereview.chromium.org/10012029

TBR=apatrick@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9956183

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132603 0039d316-1c4b-4281-b951-d872f2087c98
parent 618ccef9
...@@ -324,7 +324,7 @@ bool AddGenericPolicy(sandbox::TargetPolicy* policy) { ...@@ -324,7 +324,7 @@ bool AddGenericPolicy(sandbox::TargetPolicy* policy) {
// TODO(cpu): Lock down the sandbox more if possible. // TODO(cpu): Lock down the sandbox more if possible.
bool AddPolicyForGPU(CommandLine* cmd_line, sandbox::TargetPolicy* policy) { bool AddPolicyForGPU(CommandLine* cmd_line, sandbox::TargetPolicy* policy) {
#if !defined(NACL_WIN64) // We don't need this code on win nacl64. #if !defined(NACL_WIN64) // We don't need this code on win nacl64.
if (base::win::GetVersion() > base::win::VERSION_SERVER_2003) { if (base::win::GetVersion() > base::win::VERSION_XP) {
if (cmd_line->GetSwitchValueASCII(switches::kUseGL) == if (cmd_line->GetSwitchValueASCII(switches::kUseGL) ==
gfx::kGLImplementationDesktopName) { gfx::kGLImplementationDesktopName) {
// Open GL path. // Open GL path.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment