From 84f6015037263a0e2ce78203587d6ec361089699 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 27 May 2016 11:11:55 -0700 Subject: [PATCH] Call print on webContents --- lib/renderer/override.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/renderer/override.js b/lib/renderer/override.js index 4f0b861..5667e5e 100644 --- a/lib/renderer/override.js +++ b/lib/renderer/override.js @@ -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', { -- 2.7.4