mirror of
https://github.com/electron/electron.git
synced 2026-01-27 08:18:28 -05:00
Indentation
This commit is contained in:
@@ -111,9 +111,8 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
||||
// If the `sandbox` option was passed to the BrowserWindow's webPreferences,
|
||||
// pass `--enable-sandbox` to the renderer so it won't have any node.js
|
||||
// integration.
|
||||
if (IsSandboxed(web_contents))
|
||||
if (IsSandboxed(web_contents))
|
||||
command_line->AppendSwitch(switches::kEnableSandbox);
|
||||
|
||||
if (web_preferences.GetBoolean("nativeWindowOpen", &b) && b)
|
||||
command_line->AppendSwitch(switches::kNativeWindowOpen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user