Index: content/common/sandbox_policy.cc |
=================================================================== |
--- content/common/sandbox_policy.cc (revision 137447) |
+++ content/common/sandbox_policy.cc (working copy) |
@@ -389,6 +389,16 @@ |
if (result != sandbox::SBOX_ALL_OK) |
return false; |
+#ifdef USE_AURA |
+ // GPU also needs to add sections to the browser for aura |
+ // TODO(jschuh): refactor the GPU channel to remove this. crbug.com/128786 |
+ result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES, |
+ sandbox::TargetPolicy::HANDLES_DUP_BROKER, |
+ L"Section"); |
+ if (result != sandbox::SBOX_ALL_OK) |
+ return false; |
+#endif |
+ |
AddGenericDllEvictionPolicy(policy); |
#endif |
return true; |