chore: remove special handling for dialog methods in remote module (#17412)

* chore: remove special handling for dialog methods in remote module

* refactor: remove callFunction helper
This commit is contained in:
Milan Burda 2019-03-19 19:59:33 +01:00 committed by Samuel Attard
parent f4c3151815
commit 06a4594435
3 changed files with 18 additions and 37 deletions

View file

@ -221,8 +221,3 @@ module.exports.showMessageBox = deprecate.promisify(module.exports.showMessageBo
module.exports.showOpenDialog = deprecate.promisify(module.exports.showOpenDialog)
module.exports.showSaveDialog = deprecate.promisify(module.exports.showSaveDialog)
module.exports.showCertificateTrustDialog = deprecate.promisify(module.exports.showCertificateTrustDialog)
// Mark standard asynchronous functions.
v8Util.setHiddenValue(module.exports.showMessageBox, 'asynchronous', true)
v8Util.setHiddenValue(module.exports.showOpenDialog, 'asynchronous', true)
v8Util.setHiddenValue(module.exports.showSaveDialog, 'asynchronous', true)