Tweak comment

This commit is contained in:
Kevin Sawicki 2016-05-25 10:26:05 -07:00
parent b1ce57faa9
commit 89ffa02d75

View file

@ -158,7 +158,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
NativeWindow* window = NativeWindow::FromWebContents(web_contents); NativeWindow* window = NativeWindow::FromWebContents(web_contents);
// Inherit initial visibilty state from parent window in webviews // Use parent window for webviews
if (guest_instance_id && !window) { if (guest_instance_id && !window) {
auto manager = WebViewManager::GetWebViewManager(web_contents); auto manager = WebViewManager::GetWebViewManager(web_contents);
if (manager) { if (manager) {