diff --git a/atom/browser/web_contents_preferences.cc b/atom/browser/web_contents_preferences.cc index c7ff0cfcef14..cdd563316281 100644 --- a/atom/browser/web_contents_preferences.cc +++ b/atom/browser/web_contents_preferences.cc @@ -158,7 +158,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches( 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) { auto manager = WebViewManager::GetWebViewManager(web_contents); if (manager) {