diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 20:59:10 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 20:59:10 +0000 |
commit | 4ddb900984e74201a1923927f6a5bd4cbda3524e (patch) | |
tree | f9ec0a1fb36ec5bc5f30d712a6483ee9ac430e88 /content/common/sandbox_policy.cc | |
parent | ed77c9a68c6b4f897c30163b778f1df46f8caa10 (diff) | |
download | chromium_src-4ddb900984e74201a1923927f6a5bd4cbda3524e.zip chromium_src-4ddb900984e74201a1923927f6a5bd4cbda3524e.tar.gz chromium_src-4ddb900984e74201a1923927f6a5bd4cbda3524e.tar.bz2 |
Allow blacklisting just sharing textures between processes.
This will allow us to move some of the hardcoded blacklisting logic into the blacklist.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10698172
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/sandbox_policy.cc')
-rw-r--r-- | content/common/sandbox_policy.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/sandbox_policy.cc b/content/common/sandbox_policy.cc index 2878f2c..fb38648 100644 --- a/content/common/sandbox_policy.cc +++ b/content/common/sandbox_policy.cc @@ -343,7 +343,8 @@ bool AddPolicyForGPU(CommandLine* cmd_line, sandbox::TargetPolicy* policy) { } else { if (cmd_line->GetSwitchValueASCII(switches::kUseGL) == gfx::kGLImplementationSwiftShaderName || - cmd_line->HasSwitch(switches::kReduceGpuSandbox)) { + cmd_line->HasSwitch(switches::kReduceGpuSandbox) || + cmd_line->HasSwitch(switches::kDisableImageTransportSurface)) { // Swiftshader path. policy->SetTokenLevel(sandbox::USER_RESTRICTED_SAME_ACCESS, sandbox::USER_LIMITED); |