Remove added switch/option
This commit is contained in:
parent
583bb49f6c
commit
f58322891b
4 changed files with 1 additions and 8 deletions
|
@ -172,7 +172,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
|||
if (window) {
|
||||
bool visible = window->IsVisible() && !window->IsMinimized();
|
||||
if (!visible) // Default state is visible.
|
||||
command_line->AppendSwitch(switches::kHiddenPage);
|
||||
command_line->AppendSwitch("hidden-page");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -82,5 +82,4 @@ WebViewManager* WebViewManager::GetWebViewManager(content::WebContents* web_cont
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace atom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue