Closed Bug 1141842 Opened 10 years ago Closed 10 years ago

Add LastOptionalBreakPriority to nsLineLayout

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: xidorn, Assigned: xidorn)

Details

Attachments

(1 file)

Current 4 of 6 usages of GetLastOptionalBreakPosition ignore the offset and just check whether a break exists or what the priority of last break position is. However, calling GetLastOptionalBreakPosition requires defining several additional temporary variables. We should simplify those cases.
Only 3 of 5 actually.
Summary: Add GetLastOptionalBreakPriority to nsLineLayout → Add LastOptionalBreakPriority to nsLineLayout
Attached patch patchSplinter Review
Assignee: nobody → quanxunzhen
Attachment #8575675 - Flags: review?(roc)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: