mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
refactor: add gin_helper::Dictionary::CreateEmpty() helper (#39547)
This commit is contained in:
@@ -222,7 +222,7 @@ int NodeMain(int argc, char* argv[]) {
|
||||
process.SetMethod("crash", &ElectronBindings::Crash);
|
||||
|
||||
// Setup process.crashReporter in child node processes
|
||||
gin_helper::Dictionary reporter = gin::Dictionary::CreateEmpty(isolate);
|
||||
auto reporter = gin_helper::Dictionary::CreateEmpty(isolate);
|
||||
reporter.SetMethod("getParameters", &GetParameters);
|
||||
#if IS_MAS_BUILD()
|
||||
reporter.SetMethod("addExtraParameter", &SetCrashKeyStub);
|
||||
|
||||
Reference in New Issue
Block a user