This commit is contained in:
Hari Juturu 2017-07-11 18:29:59 -07:00
parent 9a3b78d9fe
commit 80bd6a3e91
3 changed files with 4 additions and 4 deletions

View file

@ -154,7 +154,7 @@ content::ContentBrowserClient* AtomMainDelegate::CreateContentBrowserClient() {
content::ContentRendererClient*
AtomMainDelegate::CreateContentRendererClient() {
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableSandbox) ||
switches::kEnableSandbox) ||
!base::CommandLine::ForCurrentProcess()->HasSwitch(
::switches::kNoSandbox)) {
renderer_client_.reset(new AtomSandboxedRendererClient);