Call print on webContents

This commit is contained in:
Kevin Sawicki 2016-05-27 11:11:55 -07:00
parent fa7f084625
commit 84f6015037

View file

@ -46,7 +46,7 @@ var BrowserWindowProxy = (function () {
}
BrowserWindowProxy.prototype.print = function () {
return ipcRenderer.send('ELECTRON_GUEST_WINDOW_MANAGER_WINDOW_METHOD', this.guestId, 'print')
return ipcRenderer.send('ELECTRON_GUEST_WINDOW_MANAGER_WEB_CONTENTS_METHOD', this.guestId, 'print')
}
Object.defineProperty(BrowserWindowProxy.prototype, 'location', {