Fix a type error.

This commit is contained in:
Haojian Wu 2015-06-10 15:43:33 +08:00
parent ac62871645
commit 47439cd77c

View file

@ -96,7 +96,7 @@ wrapWebContents = (webContents) ->
printingSetting.marginsType = options.marginsType
if options.printSelectionOnly
printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly
if options.printCSSBackgrounds
if options.printBackgrounds
printingSetting.shouldPrintBackgrounds = options.printBackgrounds
webContents._printToPDF printingSetting, callback