refactor: use gin_helper::Dictionary::CreateEmpty() helper (#40140)
This commit is contained in:
parent
47beca1d2a
commit
563c370d51
17 changed files with 30 additions and 42 deletions
|
@ -1180,8 +1180,7 @@ void BaseWindow::RemoveFromParentChildWindows() {
|
|||
|
||||
// static
|
||||
gin_helper::WrappableBase* BaseWindow::New(gin_helper::Arguments* args) {
|
||||
gin_helper::Dictionary options =
|
||||
gin::Dictionary::CreateEmpty(args->isolate());
|
||||
auto options = gin_helper::Dictionary::CreateEmpty(args->isolate());
|
||||
args->GetNext(&options);
|
||||
|
||||
return new BaseWindow(args, options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue