refactor: ginify WebContents (#24651)
This commit is contained in:
parent
e7fc19c98e
commit
b5cd9ce0b3
8 changed files with 156 additions and 67 deletions
|
@ -78,7 +78,7 @@ BrowserWindow::BrowserWindow(gin::Arguments* args,
|
|||
Observe(api_web_contents_->web_contents());
|
||||
|
||||
// Keep a copy of the options for later use.
|
||||
gin_helper::Dictionary(isolate, web_contents->GetWrapper())
|
||||
gin_helper::Dictionary(isolate, web_contents.ToV8().As<v8::Object>())
|
||||
.Set("browserWindowOptions", options);
|
||||
|
||||
// Associate with BrowserWindow.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue