Open Bug 1881083 Opened 7 months ago Updated 7 months ago

Refactor PrintedSheetFrame::ComputeSheetSize (or ComputeSheetSizeFromPage) to reduce swaps and return statements

Categories

(Core :: Printing: Output, task)

task

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Depends on 1 open bug)

Details

[Spinning off this bug for the followup review-nit in https://phabricator.services.mozilla.com/D196580#inline-1094934 ]

tl;dr: it would be nice to refactor PrintedSheetFrame::ComputeSheetSize (which may be renamed to ComputeSheetSizeFromPage or similar in https://phabricator.services.mozilla.com/D196580 ) to split out the "should we swap" logic from the actual swapping-and-returning.

You need to log in before you can comment on or make changes to this bug.