refactor: pass isWebViewTagEnabled via ELECTRON_BROWSER_SANDBOX_LOAD (#16238)

This commit is contained in:
Milan Burda 2019-01-08 10:12:34 +01:00 committed by Alexey Kuzmin
parent 791d6de8b0
commit 5c250455ad
3 changed files with 6 additions and 4 deletions

View file

@ -504,6 +504,7 @@ ipcMain.on('ELECTRON_BROWSER_SANDBOX_LOAD', function (event) {
preloadSrc,
preloadError,
isRemoteModuleEnabled: event.sender._isRemoteModuleEnabled(),
isWebViewTagEnabled: guestViewManager.isWebViewTagEnabled(event.sender),
process: {
arch: process.arch,
platform: process.platform,