mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
parent -> embedder
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user