Indentation
This commit is contained in:
parent
07f550a748
commit
cbbd4a4a3b
1 changed files with 1 additions and 2 deletions
|
@ -111,9 +111,8 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
||||||
// If the `sandbox` option was passed to the BrowserWindow's webPreferences,
|
// 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
|
// pass `--enable-sandbox` to the renderer so it won't have any node.js
|
||||||
// integration.
|
// integration.
|
||||||
if (IsSandboxed(web_contents))
|
if (IsSandboxed(web_contents))
|
||||||
command_line->AppendSwitch(switches::kEnableSandbox);
|
command_line->AppendSwitch(switches::kEnableSandbox);
|
||||||
|
|
||||||
if (web_preferences.GetBoolean("nativeWindowOpen", &b) && b)
|
if (web_preferences.GetBoolean("nativeWindowOpen", &b) && b)
|
||||||
command_line->AppendSwitch(switches::kNativeWindowOpen);
|
command_line->AppendSwitch(switches::kNativeWindowOpen);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue