mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
refactor: use gin_helper::Dictionary::CreateEmpty() helper (#40140)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user