Restore original comment position

This commit is contained in:
Kevin Sawicki 2016-05-25 10:26:59 -07:00
parent 6632547b17
commit 814e4377a4

View file

@ -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.