Loading
Bug 1769746 - Stop using mPrtPreview in nsPrintJob::Print. r=emilio
We create a new nsPrintJob every time Print() or PrintPreview() is invoked now ( https://phabricator.services.mozilla.com/D87417 ), so the mPrtPreview member is never set this early on. This also renames aSourceDoc to just aDoc since the document that is passed is nowadays the actual document we're going to print from (the static clone, which nowadays is created before these methods are invoked rather than being created by them). Differential Revision: https://phabricator.services.mozilla.com/D146563