Closed Bug 1640108 Opened 5 years ago Closed 5 years ago

Minor cleanups in nsPrintJob.cpp

Categories

(Core :: Printing: Setup, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: hiro, Assigned: hiro)

Details

(Whiteboard: [print2020_v78])

Attachments

(2 files)

No description provided.

To be honest, I am quite unsure whether this change will end up an unnecessary work when we finish refactoring printing stuff. :)

Also, for SetPrintAsIs, I noticed there is a suspicious direct mutation of the nsPrintObject::mPrintAsIs. As of now, I can't tell whether it's the right thing to do or it's an underlying issue. (The direct mutation changes the parent's mPrintAsIs but doesn't change siblings' one), so I leave as it is.

Attachment #9150995 - Attachment description: Bug 1640108 - Move nsPrintJob::SetPrintPO to nsPrintObject::SetPrint. r?jwatt → Bug 1640108 - Move nsPrintJob::SetPrintPO into nsPrintObject class and rename it to EnablePrinting. r?jwatt
Pushed by hikezoe.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5655f21c7c03 Move SetPrintAsIs in nsPrintObject. r=jwatt https://hg.mozilla.org/integration/autoland/rev/76186c5df6b8 Move nsPrintJob::SetPrintPO into nsPrintObject class and rename it to EnablePrinting. r=jwatt
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Whiteboard: [print2020_v78]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: