kNoSandbox moved into service_manager
This commit is contained in:
parent
ce2c8e358d
commit
7092fa31a4
3 changed files with 6 additions and 4 deletions
|
@ -145,7 +145,7 @@ void AtomMainDelegate::PreSandboxStartup() {
|
|||
service_manager::switches::kDisableSetuidSandbox);
|
||||
} else {
|
||||
// Disable renderer sandbox for most of node's functions.
|
||||
command_line->AppendSwitch(::switches::kNoSandbox);
|
||||
command_line->AppendSwitch(service_manager::switches::kNoSandbox);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -168,7 +168,7 @@ AtomMainDelegate::CreateContentRendererClient() {
|
|||
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
||||
switches::kEnableSandbox) ||
|
||||
!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
||||
::switches::kNoSandbox)) {
|
||||
service_manager::switches::kNoSandbox)) {
|
||||
renderer_client_.reset(new AtomSandboxedRendererClient);
|
||||
} else {
|
||||
renderer_client_.reset(new AtomRendererClient);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue