Closed Bug 1429313 Opened 7 years ago Closed 7 years ago

reuse |nextColIndex| to reduce unnecessary calls

Categories

(Core :: Layout: Tables, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: ywu, Assigned: ywu)

Details

Attachments

(1 file, 1 obsolete file)

We can reuse |nextColIndex|[1] for the function below because we wouldn't change |info|'s colIndex in that function. https://searchfox.org/mozilla-central/rev/03877052c151a8f062eea177f684a2743cd7b1d5/layout/tables/nsTableFrame.cpp#6460
Attachment #8941347 - Flags: review?(tlin)
Comment on attachment 8941347 [details] [diff] [review] 0001-reduce-unnecessary-calls.patch Review of attachment 8941347 [details] [diff] [review]: ----------------------------------------------------------------- Nit: You'll need to add the bug number to the commit title. Also, "reduce unnecessary calls" is not clear to me. How about something like: "Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex() calls"?
Attachment #8941347 - Flags: review?(tlin) → review+
(In reply to Ting-Yu Lin [:TYLin] (UTC+8) from comment #2) > Nit: You'll need to add the bug number to the commit title. > > Also, "reduce unnecessary calls" is not clear to me. How about something > like: "Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex() > calls"? done. thx!
Attachment #8941347 - Attachment is obsolete: true
Attachment #8941358 - Flags: review+
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/b62099b50fc7 Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex() calls. r=tylin
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: