Index: content/common/sandbox_linux/sandbox_linux.cc |
diff --git a/content/common/sandbox_linux/sandbox_linux.cc b/content/common/sandbox_linux/sandbox_linux.cc |
index 88afef9295e75b6a45476e7ad9fce09ae96cbc1b..9e8a117508b719fc84d337a65ff9587db3b0943b 100644 |
--- a/content/common/sandbox_linux/sandbox_linux.cc |
+++ b/content/common/sandbox_linux/sandbox_linux.cc |
@@ -354,7 +354,6 @@ bool LinuxSandbox::LimitAddressSpace(const std::string& process_type) { |
// For now, increase limit to 16GB for renderer and worker and gpu processes |
// to accomodate. |
if (process_type == switches::kRendererProcess || |
- process_type == switches::kWorkerProcess || |
process_type == switches::kGpuProcess) { |
address_space_limit = 1L << 34; |
} |
@@ -393,7 +392,6 @@ void LinuxSandbox::CheckForBrokenPromises(const std::string& process_type) { |
// Make sure that any promise made with GetStatus() wasn't broken. |
bool promised_seccomp_bpf_would_start = false; |
if (process_type == switches::kRendererProcess || |
- process_type == switches::kWorkerProcess || |
process_type == switches::kPpapiPluginProcess) { |
promised_seccomp_bpf_would_start = |
(sandbox_status_flags_ != kSandboxLinuxInvalid) && |