Add LastOptionalBreakPriority to nsLineLayout

RESOLVED FIXED in Firefox 39

Status

()

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: xidorn, Assigned: xidorn)

Tracking

Trunk
mozilla39
Points:
---

Firefox Tracking Flags

(firefox39 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
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.
(Assignee)

Comment 1

4 years ago
Only 3 of 5 actually.
(Assignee)

Updated

4 years ago
Summary: Add GetLastOptionalBreakPriority to nsLineLayout → Add LastOptionalBreakPriority to nsLineLayout
(Assignee)

Comment 2

4 years ago
Created attachment 8575675 [details] [diff] [review]
patch
Assignee: nobody → quanxunzhen
Attachment #8575675 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/8949ff85977e
Status: NEW → RESOLVED
Last Resolved: 4 years ago
status-firefox39: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.