Restore original comment position
This commit is contained in:
parent
6632547b17
commit
814e4377a4
1 changed files with 1 additions and 1 deletions
|
@ -156,6 +156,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
||||||
command_line->AppendSwitchASCII(::switches::kEnableBlinkFeatures,
|
command_line->AppendSwitchASCII(::switches::kEnableBlinkFeatures,
|
||||||
blink_features);
|
blink_features);
|
||||||
|
|
||||||
|
// The initial visibility state.
|
||||||
NativeWindow* window = NativeWindow::FromWebContents(web_contents);
|
NativeWindow* window = NativeWindow::FromWebContents(web_contents);
|
||||||
|
|
||||||
// Use embedder window for webviews
|
// Use embedder window for webviews
|
||||||
|
@ -168,7 +169,6 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// The initial visibility state.
|
|
||||||
if (window) {
|
if (window) {
|
||||||
bool visible = window->IsVisible() && !window->IsMinimized();
|
bool visible = window->IsVisible() && !window->IsMinimized();
|
||||||
if (!visible) // Default state is visible.
|
if (!visible) // Default state is visible.
|
||||||
|
|
Loading…
Reference in a new issue