summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 00:44:03 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 00:44:03 +0000
commit7975d395a2ee0d8b5ba8aa4748c950e9e957503d (patch)
tree4ec92d863c274739331d888e639afc92305b2cfa /chrome/renderer
parentf52832291a312d78592aac0744809ed02822bfa9 (diff)
downloadchromium_src-7975d395a2ee0d8b5ba8aa4748c950e9e957503d.zip
chromium_src-7975d395a2ee0d8b5ba8aa4748c950e9e957503d.tar.gz
chromium_src-7975d395a2ee0d8b5ba8aa4748c950e9e957503d.tar.bz2
seccomp: remove build-time flags
Adjusting seccomp through the .gyp file is error-prone and confusing. Instead, because all callers call SeccompSandboxEnabled(), if I want to enable it for some build configuration I can adjust just that function. This change removes all the build-time seccomp configuration and leaves it defaulted off. It should have no change on whether seccomp is enabled. Review URL: http://codereview.chromium.org/5844001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/renderer_main_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/renderer/renderer_main_unittest.cc b/chrome/renderer/renderer_main_unittest.cc
index 310e56b..464419b 100644
--- a/chrome/renderer/renderer_main_unittest.cc
+++ b/chrome/renderer/renderer_main_unittest.cc
@@ -73,12 +73,12 @@ CommandLine RendererMainTest::MakeCmdLine(const std::string& procname,
bool debug_on_start) {
CommandLine command_line =
MultiProcessTest::MakeCmdLine(procname, debug_on_start);
-#if defined(USE_SECCOMP_SANDBOX)
- // Turn off seccomp for this test. It's just a problem of refactoring,
+
+ // Force seccomp off for this test. It's just a problem of refactoring,
// not a bug.
// http://code.google.com/p/chromium/issues/detail?id=59376
command_line.AppendSwitch(switches::kDisableSeccompSandbox);
-#endif
+
return command_line;
}