mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: remove BrowserWindow option inheritance (#28550)
This commit is contained in:
@@ -78,10 +78,6 @@ BrowserWindow::BrowserWindow(gin::Arguments* args,
|
||||
api_web_contents_->AddObserver(this);
|
||||
Observe(api_web_contents_->web_contents());
|
||||
|
||||
// Keep a copy of the options for later use.
|
||||
gin_helper::Dictionary(isolate, web_contents.ToV8().As<v8::Object>())
|
||||
.Set("browserWindowOptions", options);
|
||||
|
||||
// Associate with BrowserWindow.
|
||||
web_contents->SetOwnerWindow(window());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user