Index: content/common/sandbox_init_linux.cc |
diff --git a/content/common/sandbox_init_linux.cc b/content/common/sandbox_init_linux.cc |
index 99f631b18c434587a5f24f561168ebe97b41d702..7d8b66750cd89cca6fb1c52ea5f8afa929a654b5 100644 |
--- a/content/common/sandbox_init_linux.cc |
+++ b/content/common/sandbox_init_linux.cc |
@@ -333,9 +333,6 @@ void InitializeSandbox() { |
std::string process_type = |
command_line.GetSwitchValueASCII(switches::kProcessType); |
- if (process_type == switches::kGpuProcess && |
- command_line.HasSwitch(switches::kDisableGpuSandbox)) |
- return; |
jln (very slow on Chromium)
2012/05/10 03:16:39
What about making a EnableGpuSandbox switch and ha
Jorge Lucangeli Obes
2012/05/10 03:38:34
Agreed, having the change in only one place makes
|
if (!CanUseSeccompFilters()) |
return; |
@@ -345,9 +342,7 @@ void InitializeSandbox() { |
std::vector<struct sock_filter> program; |
EmitPreamble(&program); |
- if (process_type == switches::kGpuProcess) { |
- ApplyGPUPolicy(&program); |
- } else if (process_type == switches::kPpapiPluginProcess) { |
+ if (process_type == switches::kPpapiPluginProcess) { |
ApplyFlashPolicy(&program); |
} else { |
NOTREACHED(); |