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
|
@ -169,8 +169,7 @@ void ElectronBluetoothDelegate::ShowDevicePairPrompt(
|
|||
|
||||
v8::Isolate* isolate = JavascriptEnvironment::GetIsolate();
|
||||
v8::HandleScope scope(isolate);
|
||||
gin_helper::Dictionary details =
|
||||
gin_helper::Dictionary::CreateEmpty(isolate);
|
||||
auto details = gin_helper::Dictionary::CreateEmpty(isolate);
|
||||
details.Set("deviceId", device_identifier);
|
||||
details.Set("pairingKind", pairing_kind);
|
||||
details.SetGetter("frame", frame);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue