parent -> embedder
This commit is contained in:
parent
89ffa02d75
commit
6632547b17
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
|||
|
||||
NativeWindow* window = NativeWindow::FromWebContents(web_contents);
|
||||
|
||||
// Use parent window for webviews
|
||||
// Use embedder window for webviews
|
||||
if (guest_instance_id && !window) {
|
||||
auto manager = WebViewManager::GetWebViewManager(web_contents);
|
||||
if (manager) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue