Tweak comment
This commit is contained in:
parent
b1ce57faa9
commit
89ffa02d75
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue